Add tests

This commit is contained in:
Nicolas Lœuillet
2016-04-18 15:29:57 +02:00
parent dc12084d93
commit 23d24b1750
4 changed files with 305 additions and 4 deletions

View File

@ -258,7 +258,7 @@ class PocketImport implements ImportInterface
// flush every 20 entries
if (($i % 20) === 0) {
$this->em->flush();
$this->em->clear();
$this->em->clear($entry);
}
++$i;
}