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:
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
|
// 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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue