mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +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(),
|
$client->getResponse()->isSuccessful(),
|
||||||
'The page is accessible at the URL /{_locale}/person/new'
|
'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(
|
$this->assertInstanceOf(
|
||||||
\Symfony\Component\DomCrawler\Form::class,
|
\Symfony\Component\DomCrawler\Form::class,
|
||||||
$form,
|
$form,
|
||||||
'The page contains a butto '
|
'The page contains a button'
|
||||||
);
|
);
|
||||||
$this->assertTrue(
|
$this->assertTrue(
|
||||||
$form->has(self::FIRSTNAME_INPUT),
|
$form->has(self::FIRSTNAME_INPUT),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user