mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix capitalization in personcontroller create test
This commit is contained in:
parent
f3ccc96e41
commit
aa49777d7a
@ -205,7 +205,7 @@ class PersonControllerCreateTest extends WebTestCase
|
|||||||
$form = $this->fillAValidCreationForm($form, 'Charline', 'dd');
|
$form = $this->fillAValidCreationForm($form, 'Charline', 'dd');
|
||||||
$client->submit($form);
|
$client->submit($form);
|
||||||
|
|
||||||
$this->assertContains('Depardieu', $client->getCrawler()->text(),
|
$this->assertContains('DEPARDIEU', $client->getCrawler()->text(),
|
||||||
"check that the page has detected the lastname of a person existing in database");
|
"check that the page has detected the lastname of a person existing in database");
|
||||||
|
|
||||||
//inversion
|
//inversion
|
||||||
@ -213,7 +213,7 @@ class PersonControllerCreateTest extends WebTestCase
|
|||||||
$form = $this->fillAValidCreationForm($form, 'dd', 'Charline');
|
$form = $this->fillAValidCreationForm($form, 'dd', 'Charline');
|
||||||
$client->submit($form);
|
$client->submit($form);
|
||||||
|
|
||||||
$this->assertContains('Depardieu', $client->getCrawler()->text(),
|
$this->assertContains('DEPARDIEU', $client->getCrawler()->text(),
|
||||||
"check that the page has detected the lastname of a person existing in database");
|
"check that the page has detected the lastname of a person existing in database");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user