From ef718fe93a34f93a4827b3642e5da17c1566f6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 16 Dec 2015 13:19:00 +0100 Subject: [PATCH] adapt text language in test --- Tests/Controller/ReportControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Controller/ReportControllerTest.php b/Tests/Controller/ReportControllerTest.php index e5373b339..526097aa8 100644 --- a/Tests/Controller/ReportControllerTest.php +++ b/Tests/Controller/ReportControllerTest.php @@ -383,7 +383,7 @@ class ReportControllerTest extends WebTestCase $this->assertRegExp(sprintf('|/fr/person/%s/report/[0-9]*/view$|', static::$person->getId(), $reportId), $linkSee[0]->getUri()); - $linkUpdate = $crawler->selectLink('Mettre à jour le rapport')->links(); + $linkUpdate = $crawler->selectLink('Update')->links(); $this->assertGreaterThan(0, count($linkUpdate)); $this->assertRegExp(sprintf('|/fr/person/%s/report/[0-9]*/edit$|', static::$person->getId(), $reportId), $linkUpdate[0]->getUri());