Browse Source

🔧 Change le nom du bouton

master
Shikiryu 4 years ago
parent
commit
7cada3dd07
  1. 2
      library/Actions.php

2
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

Loading…
Cancel
Save