Fix tests

This commit is contained in:
Jeremy Benoist
2022-03-02 20:05:45 +01:00
parent 9160c4e713
commit 7ec0c9f844
2 changed files with 2 additions and 2 deletions

View File

@ -1641,7 +1641,7 @@ class EntryControllerTest extends WallabagCoreTestCase
$client->request('GET', '/annotated/random');
$this->assertSame(302, $client->getResponse()->getStatusCode());
$this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'With annotations random');
$this->assertStringContainsString('/view/', $client->getResponse()->getTargetUrl(), 'With annotations random');
$client->request('GET', '/all/random');
$this->assertSame(302, $client->getResponse()->getStatusCode());