<?php
-namespace Tests\AnnotationBundle\Controller;
+namespace Tests\Wallabag\AnnotationBundle\Controller;
use Tests\Wallabag\AnnotationBundle\WallabagAnnotationTestCase;
use Wallabag\AnnotationBundle\Entity\Annotation;
$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);