mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix button selecton on PersonControllerCreateTest
This commit is contained in:
parent
b1a9749dc0
commit
80684f65fe
@ -86,12 +86,12 @@ final class PersonControllerCreateTest extends WebTestCase
|
||||
$client->getResponse()->isSuccessful(),
|
||||
'The page is accessible at the URL /{_locale}/person/new'
|
||||
);
|
||||
$form = $crawler->selectButton('Ajouter la personne')->form();
|
||||
$form = $crawler->selectButton("Créer l'usager")->form();
|
||||
|
||||
$this->assertInstanceOf(
|
||||
\Symfony\Component\DomCrawler\Form::class,
|
||||
$form,
|
||||
'The page contains a butto '
|
||||
'The page contains a button'
|
||||
);
|
||||
$this->assertTrue(
|
||||
$form->has(self::FIRSTNAME_INPUT),
|
||||
|
Loading…
x
Reference in New Issue
Block a user