forked from wallabag/wallabag
Fix tests
This commit is contained in:
@ -100,8 +100,7 @@ class AnnotationControllerTest extends WallabagAnnotationTestCase
|
||||
$this->assertSame('my quote', $content['quote']);
|
||||
|
||||
/** @var Annotation $annotation */
|
||||
$annotation = $this->client->getContainer()
|
||||
->get('doctrine.orm.entity_manager')
|
||||
$annotation = $em
|
||||
->getRepository('WallabagAnnotationBundle:Annotation')
|
||||
->findLastAnnotationByPageId($entry->getId(), 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user