diff --git a/Tests/Controller/ReportControllerTest.php b/Tests/Controller/ReportControllerTest.php index 7fb485a7d..e5373b339 100644 --- a/Tests/Controller/ReportControllerTest.php +++ b/Tests/Controller/ReportControllerTest.php @@ -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", diff --git a/Tests/Timeline/TimelineProviderTest.php b/Tests/Timeline/TimelineProviderTest.php index 080a8f288..5df8e22fd 100644 --- a/Tests/Timeline/TimelineProviderTest.php +++ b/Tests/Timeline/TimelineProviderTest.php @@ -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);