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:
parent
a36737f485
commit
092ca70725
7 changed files with 131 additions and 31 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue