From 7cada3dd07a27a2992fb6e8d836d1e174e111229 Mon Sep 17 00:00:00 2001 From: Shikiryu Date: Sun, 18 Feb 2018 23:11:40 +0100 Subject: [PATCH] :wrench: Change le nom du bouton --- library/Actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Actions.php b/library/Actions.php index 679a835..9ab6a75 100644 --- a/library/Actions.php +++ b/library/Actions.php @@ -180,7 +180,7 @@ class Actions $this->addPageDebug('add-2', $crawler); // TODO need to check if we're in the good page // Let's validate - $form = $crawler->selectButton('Valider mon annonce')->form(); + $form = $crawler->selectButton('Valider')->form(); $crawler = $this->account->getClient()->submit($form, ['accept_rule' => 1]); $this->addPageDebug('add-validation', $crawler); // TODO return if it's the validation page or not