1
0
Fork 0
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:
Yassine Guedidi 2025-03-17 22:59:49 +01:00
parent 1393f78005
commit 67c359a6dd
5 changed files with 40 additions and 21 deletions

View file

@ -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();