adapt text language in test

This commit is contained in:
Julien Fastré 2015-12-16 13:19:00 +01:00
parent ec838755e1
commit ef718fe93a

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('Mettre à jour le rapport')->links(); $linkUpdate = $crawler->selectLink('Update')->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());