🔧 Change le nom du bouton

This commit is contained in:
Shikiryu 2018-02-18 23:11:40 +01:00
parent bb5721f911
commit 7cada3dd07

View File

@ -180,7 +180,7 @@ class Actions
$this->addPageDebug('add-2', $crawler); $this->addPageDebug('add-2', $crawler);
// TODO need to check if we're in the good page // TODO need to check if we're in the good page
// Let's validate // Let's validate
$form = $crawler->selectButton('Valider mon annonce')->form(); $form = $crawler->selectButton('Valider')->form();
$crawler = $this->account->getClient()->submit($form, ['accept_rule' => 1]); $crawler = $this->account->getClient()->submit($form, ['accept_rule' => 1]);
$this->addPageDebug('add-validation', $crawler); $this->addPageDebug('add-validation', $crawler);
// TODO return if it's the validation page or not // TODO return if it's the validation page or not