1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-05 18:41:02 +00:00

add relation between user and tags, tests are broken

This commit is contained in:
Nicolas Lœuillet 2015-02-26 09:41:42 +01:00
parent a36737f485
commit 092ca70725
7 changed files with 131 additions and 31 deletions

View file

@ -38,9 +38,9 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface
$entry3->setTitle('test title entry3');
$entry3->setContent('This is my content /o/');
$tag1 = new Tag();
$tag1 = new Tag($this->getReference('admin-user'));
$tag1->setLabel("foo");
$tag2 = new Tag();
$tag2 = new Tag($this->getReference('admin-user'));
$tag2->setLabel("bar");
$entry3->addTag($tag1);