mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Fixed tests by removing clear()
This commit is contained in:
parent
64b1229b2d
commit
bd206a84d8
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue