mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
Correction of tests
This commit is contained in:
parent
02a48c32c1
commit
f301dbdd17
@ -148,7 +148,7 @@ class ReportControllerTest extends WebTestCase
|
||||
throw new \RuntimeException('the request at person page failed');
|
||||
}
|
||||
|
||||
$link = $crawlerPersonPage->selectLink("Ajout d'un rapport")->link();
|
||||
$link = $crawlerPersonPage->selectLink("AJOUT D'UN RAPPORT")->link();
|
||||
$this->assertInstanceOf('Symfony\Component\DomCrawler\Link', $link,
|
||||
"There is a \"add a report\" link in menu");
|
||||
$this->assertContains(sprintf("/fr/person/%d/report/select/type/for/creation",
|
||||
|
@ -67,7 +67,7 @@ class TimelineProviderTest extends WebTestCase
|
||||
->findOneBy(array('name' => 'Center A'));
|
||||
|
||||
$person = (new Person(new \DateTime('2015-05-01')))
|
||||
->setGenre(Person::GENRE_WOMAN)
|
||||
->setGender(Person::FEMALE_GENDER)
|
||||
->setFirstName('Nelson')
|
||||
->setLastName('Mandela')
|
||||
->setCenter($center);
|
||||
|
Loading…
x
Reference in New Issue
Block a user