fix tranlsation in tests

This commit is contained in:
Julien Fastré 2016-01-20 17:39:14 +01:00
parent e939a809b1
commit e6cacb8554

View File

@ -383,7 +383,7 @@ class ReportControllerTest extends WebTestCase
$this->assertRegExp(sprintf('|/fr/person/%s/report/[0-9]*/view$|', $this->assertRegExp(sprintf('|/fr/person/%s/report/[0-9]*/view$|',
static::$person->getId(), $reportId), $linkSee[0]->getUri()); static::$person->getId(), $reportId), $linkSee[0]->getUri());
$linkUpdate = $crawler->selectLink('Update')->links(); $linkUpdate = $crawler->selectLink('Mettre à jour')->links();
$this->assertGreaterThan(0, count($linkUpdate)); $this->assertGreaterThan(0, count($linkUpdate));
$this->assertRegExp(sprintf('|/fr/person/%s/report/[0-9]*/edit$|', $this->assertRegExp(sprintf('|/fr/person/%s/report/[0-9]*/edit$|',
static::$person->getId(), $reportId), $linkUpdate[0]->getUri()); static::$person->getId(), $reportId), $linkUpdate[0]->getUri());