Merge remote-tracking branch 'framagit/master'

This commit is contained in:
Julien Fastré 2016-02-25 20:06:04 +01:00
commit dc3a078923

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());