1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Fixing tests

This commit is contained in:
Jeremy Benoist 2016-11-20 15:15:13 +01:00
parent 0a6f4568b5
commit 70584b42aa
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 3 additions and 4 deletions

View file

@ -681,10 +681,9 @@ class EntryRestControllerTest extends WallabagApiTestCase
public function testReloadEntryErrorWhileFetching()
{
$entry = $this->client->getContainer()
->get('doctrine.orm.entity_manager')
$entry = $this->client->getContainer()->get('doctrine.orm.entity_manager')
->getRepository('WallabagCoreBundle:Entry')
->findOneBy(['user' => 1, 'isArchived' => false]);
->findByUrlAndUserId('http://0.0.0.0/entry4', 1);
if (!$entry) {
$this->markTestSkipped('No content found in db.');