From e6cacb855458fa2087dbdc407a4670441edc0c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 20 Jan 2016 17:39:14 +0100 Subject: [PATCH] fix tranlsation in tests --- 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 526097aa8..682fd7414 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('Update')->links(); + $linkUpdate = $crawler->selectLink('Mettre à jour')->links(); $this->assertGreaterThan(0, count($linkUpdate)); $this->assertRegExp(sprintf('|/fr/person/%s/report/[0-9]*/edit$|', static::$person->getId(), $reportId), $linkUpdate[0]->getUri());