mirror of https://github.com/wallabag/wallabag.git
Fix test
This commit is contained in:
parent
d3262da307
commit
f061581bbd
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue