mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-17 03:05:19 +00:00
Merge pull request #5156 from wallabag/fix-assign-tags
Fixed timeout when assigning tags to entry
This commit is contained in:
commit
05a7904cfa
2 changed files with 1 additions and 2 deletions
|
@ -712,7 +712,6 @@ class Entry
|
|||
}
|
||||
|
||||
$this->tags->add($tag);
|
||||
$tag->addEntry($this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -195,7 +195,7 @@ class TagControllerTest extends WallabagCoreTestCase
|
|||
$entry2 = new Entry($this->getLoggedInUser());
|
||||
$entry2->setUrl('http://0.0.0.0/bar');
|
||||
$entry2->addTag($tag);
|
||||
$this->getEntityManager()->persist($entry);
|
||||
$this->getEntityManager()->persist($entry2);
|
||||
|
||||
$this->getEntityManager()->flush();
|
||||
$this->getEntityManager()->clear();
|
||||
|
|
Loading…
Reference in a new issue