mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix tranlsation in tests
This commit is contained in:
parent
e939a809b1
commit
e6cacb8554
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user