Merge pull request #5156 from wallabag/fix-assign-tags
Fixed timeout when assigning tags to entry
This commit is contained in:
commit
05a7904cfa
@ -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…
x
Reference in New Issue
Block a user