mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Migrate remaining places
This commit is contained in:
parent
481283bbee
commit
791b674cdc
5 changed files with 9 additions and 9 deletions
|
@ -581,7 +581,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
|
|||
// Remove the created entry to avoid side effects on other tests
|
||||
if (isset($content['id'])) {
|
||||
$em = $this->client->getContainer()->get('doctrine.orm.entity_manager');
|
||||
$entry = $em->getReference('WallabagCoreBundle:Entry', $content['id']);
|
||||
$entry = $em->getReference(Entry::class, $content['id']);
|
||||
$em->remove($entry);
|
||||
$em->flush();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue