1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00

Fixed tests by removing clear()

This commit is contained in:
Nicolas Lœuillet 2016-09-23 10:56:08 +02:00 committed by Jeremy Benoist
parent 64b1229b2d
commit bd206a84d8
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C

View file

@ -94,10 +94,6 @@ abstract class BrowserImport extends AbstractImport
// flush every 20 entries // flush every 20 entries
if (($i % 20) === 0) { if (($i % 20) === 0) {
$this->em->flush(); $this->em->flush();
// clear only affected entities
$this->em->clear(Entry::class);
$this->em->clear(Tag::class);
} }
++$i; ++$i;
} }