forked from wallabag/wallabag
Fixing tests
This commit is contained in:
@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user