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