From f061581bbddb17c6b541565d191aa502250781d2 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Mon, 8 Feb 2021 09:38:01 +0100 Subject: [PATCH] Fix test --- tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index 0c21db675..2e3048cf9 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php @@ -1459,7 +1459,7 @@ class EntryControllerTest extends WallabagCoreTestCase */ public function testRestrictedArticle() { - $url = 'https://www.monde-diplomatique.fr/2017/05/BONNET/57475'; + $url = 'https://www.monde-diplomatique.fr/2017/05/BONNET/57476'; $this->logInAs('admin'); $client = $this->getClient(); $em = $client->getContainer()->get('doctrine.orm.entity_manager'); @@ -1501,7 +1501,7 @@ class EntryControllerTest extends WallabagCoreTestCase ->findByUrlAndUserId($url, $this->getLoggedInUserId()); $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); - $this->assertSame('Crimes et réformes aux Philippines', $content->getTitle()); + $this->assertSame('Quand Manille manœuvre', $content->getTitle()); $client->getContainer()->get('craue_config')->set('restricted_access', 0); }