diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-27 21:25:37 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-12-28 13:42:50 +0100 |
commit | 71eff67f8b65a8337bd169fe8c271957ddd0aba0 (patch) | |
tree | a62a8ef02cd90ffabc92e4d62066dbf5c949d2b5 | |
parent | d25b8288216a09fa5cf7f40e614c133a6edd8a67 (diff) | |
download | wallabag-71eff67f8b65a8337bd169fe8c271957ddd0aba0.tar.gz wallabag-71eff67f8b65a8337bd169fe8c271957ddd0aba0.tar.zst wallabag-71eff67f8b65a8337bd169fe8c271957ddd0aba0.zip |
Entry data should have unique url
-rw-r--r-- | src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php index 176c529e..0513cdb8 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php | |||
@@ -16,7 +16,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
16 | public function load(ObjectManager $manager) | 16 | public function load(ObjectManager $manager) |
17 | { | 17 | { |
18 | $entry1 = new Entry($this->getReference('admin-user')); | 18 | $entry1 = new Entry($this->getReference('admin-user')); |
19 | $entry1->setUrl('http://0.0.0.0'); | 19 | $entry1->setUrl('http://0.0.0.0/entry1'); |
20 | $entry1->setReadingTime(11); | 20 | $entry1->setReadingTime(11); |
21 | $entry1->setDomainName('domain.io'); | 21 | $entry1->setDomainName('domain.io'); |
22 | $entry1->setMimetype('text/html'); | 22 | $entry1->setMimetype('text/html'); |
@@ -29,7 +29,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
29 | $this->addReference('entry1', $entry1); | 29 | $this->addReference('entry1', $entry1); |
30 | 30 | ||
31 | $entry2 = new Entry($this->getReference('admin-user')); | 31 | $entry2 = new Entry($this->getReference('admin-user')); |
32 | $entry2->setUrl('http://0.0.0.0'); | 32 | $entry2->setUrl('http://0.0.0.0/entry2'); |
33 | $entry2->setReadingTime(1); | 33 | $entry2->setReadingTime(1); |
34 | $entry2->setDomainName('domain.io'); | 34 | $entry2->setDomainName('domain.io'); |
35 | $entry2->setMimetype('text/html'); | 35 | $entry2->setMimetype('text/html'); |
@@ -42,7 +42,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
42 | $this->addReference('entry2', $entry2); | 42 | $this->addReference('entry2', $entry2); |
43 | 43 | ||
44 | $entry3 = new Entry($this->getReference('bob-user')); | 44 | $entry3 = new Entry($this->getReference('bob-user')); |
45 | $entry3->setUrl('http://0.0.0.0'); | 45 | $entry3->setUrl('http://0.0.0.0/entry3'); |
46 | $entry3->setReadingTime(1); | 46 | $entry3->setReadingTime(1); |
47 | $entry3->setDomainName('domain.io'); | 47 | $entry3->setDomainName('domain.io'); |
48 | $entry3->setMimetype('text/html'); | 48 | $entry3->setMimetype('text/html'); |
@@ -63,7 +63,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
63 | $this->addReference('entry3', $entry3); | 63 | $this->addReference('entry3', $entry3); |
64 | 64 | ||
65 | $entry4 = new Entry($this->getReference('admin-user')); | 65 | $entry4 = new Entry($this->getReference('admin-user')); |
66 | $entry4->setUrl('http://0.0.0.0'); | 66 | $entry4->setUrl('http://0.0.0.0/entry4'); |
67 | $entry4->setReadingTime(12); | 67 | $entry4->setReadingTime(12); |
68 | $entry4->setDomainName('domain.io'); | 68 | $entry4->setDomainName('domain.io'); |
69 | $entry4->setMimetype('text/html'); | 69 | $entry4->setMimetype('text/html'); |
@@ -84,7 +84,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
84 | $this->addReference('entry4', $entry4); | 84 | $this->addReference('entry4', $entry4); |
85 | 85 | ||
86 | $entry5 = new Entry($this->getReference('admin-user')); | 86 | $entry5 = new Entry($this->getReference('admin-user')); |
87 | $entry5->setUrl('http://0.0.0.0'); | 87 | $entry5->setUrl('http://0.0.0.0/entry5'); |
88 | $entry5->setReadingTime(12); | 88 | $entry5->setReadingTime(12); |
89 | $entry5->setDomainName('domain.io'); | 89 | $entry5->setDomainName('domain.io'); |
90 | $entry5->setMimetype('text/html'); | 90 | $entry5->setMimetype('text/html'); |
@@ -99,7 +99,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
99 | $this->addReference('entry5', $entry5); | 99 | $this->addReference('entry5', $entry5); |
100 | 100 | ||
101 | $entry6 = new Entry($this->getReference('admin-user')); | 101 | $entry6 = new Entry($this->getReference('admin-user')); |
102 | $entry6->setUrl('http://0.0.0.0'); | 102 | $entry6->setUrl('http://0.0.0.0/entry6'); |
103 | $entry6->setReadingTime(12); | 103 | $entry6->setReadingTime(12); |
104 | $entry6->setDomainName('domain.io'); | 104 | $entry6->setDomainName('domain.io'); |
105 | $entry6->setMimetype('text/html'); | 105 | $entry6->setMimetype('text/html'); |