mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-31 18:31:02 +00:00
Replace entity manager clear by creating a new client
This commit is contained in:
parent
1393f78005
commit
67c359a6dd
5 changed files with 40 additions and 21 deletions
|
@ -80,7 +80,8 @@ class ConfigControllerTest extends WallabagTestCase
|
|||
$this->getEntityManager()->persist($entry);
|
||||
|
||||
$this->getEntityManager()->flush();
|
||||
$this->getEntityManager()->clear();
|
||||
|
||||
$client = $this->getTestClient();
|
||||
|
||||
$crawler = $client->request('GET', '/unread/list');
|
||||
$form = $crawler->filter('button[id=submit-filter]')->form();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue