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
if (($i % 20) === 0) {
$this->em->flush();
// clear only affected entities
$this->em->clear(Entry::class);
$this->em->clear(Tag::class);
}
++$i;
}