aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/DataFixtures
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-26 09:41:42 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-06 21:09:15 +0100
commit092ca70725b0263390e45c46f93828c613eca3f0 (patch)
tree7b9fe8b824505b645bda6896a3589f09e25b1ccc /src/Wallabag/CoreBundle/DataFixtures
parenta36737f4859e3acbddf5cfe90c279ba725a6d88a (diff)
downloadwallabag-092ca70725b0263390e45c46f93828c613eca3f0.tar.gz
wallabag-092ca70725b0263390e45c46f93828c613eca3f0.tar.zst
wallabag-092ca70725b0263390e45c46f93828c613eca3f0.zip
add relation between user and tags, tests are broken
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures')
-rw-r--r--src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php
index edab9adc..b0f07755 100644
--- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php
+++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php
@@ -38,9 +38,9 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface
38 $entry3->setTitle('test title entry3'); 38 $entry3->setTitle('test title entry3');
39 $entry3->setContent('This is my content /o/'); 39 $entry3->setContent('This is my content /o/');
40 40
41 $tag1 = new Tag(); 41 $tag1 = new Tag($this->getReference('admin-user'));
42 $tag1->setLabel("foo"); 42 $tag1->setLabel("foo");
43 $tag2 = new Tag(); 43 $tag2 = new Tag($this->getReference('admin-user'));
44 $tag2->setLabel("bar"); 44 $tag2->setLabel("bar");
45 45
46 $entry3->addTag($tag1); 46 $entry3->addTag($tag1);