diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-10-31 09:26:00 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2015-11-09 16:32:48 +0100 |
commit | fba3f536a5557b9094393728d360bf78260ab4da (patch) | |
tree | ccbb48c5ed8c6724d5f75e1482e6feeb538f1ac9 /src/Wallabag/CoreBundle/DataFixtures | |
parent | cceca9ea1d93ccf1420c2506330a16dc07f6433c (diff) | |
download | wallabag-fba3f536a5557b9094393728d360bf78260ab4da.tar.gz wallabag-fba3f536a5557b9094393728d360bf78260ab4da.tar.zst wallabag-fba3f536a5557b9094393728d360bf78260ab4da.zip |
Fix tests
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures')
-rw-r--r-- | src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php index 7e64c5e1..176c529e 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php | |||
@@ -19,6 +19,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
19 | $entry1->setUrl('http://0.0.0.0'); | 19 | $entry1->setUrl('http://0.0.0.0'); |
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->setTitle('test title entry1'); | 23 | $entry1->setTitle('test title entry1'); |
23 | $entry1->setContent('This is my content /o/'); | 24 | $entry1->setContent('This is my content /o/'); |
24 | $entry1->setLanguage('en'); | 25 | $entry1->setLanguage('en'); |
@@ -31,6 +32,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
31 | $entry2->setUrl('http://0.0.0.0'); | 32 | $entry2->setUrl('http://0.0.0.0'); |
32 | $entry2->setReadingTime(1); | 33 | $entry2->setReadingTime(1); |
33 | $entry2->setDomainName('domain.io'); | 34 | $entry2->setDomainName('domain.io'); |
35 | $entry2->setMimetype('text/html'); | ||
34 | $entry2->setTitle('test title entry2'); | 36 | $entry2->setTitle('test title entry2'); |
35 | $entry2->setContent('This is my content /o/'); | 37 | $entry2->setContent('This is my content /o/'); |
36 | $entry2->setLanguage('fr'); | 38 | $entry2->setLanguage('fr'); |
@@ -43,6 +45,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
43 | $entry3->setUrl('http://0.0.0.0'); | 45 | $entry3->setUrl('http://0.0.0.0'); |
44 | $entry3->setReadingTime(1); | 46 | $entry3->setReadingTime(1); |
45 | $entry3->setDomainName('domain.io'); | 47 | $entry3->setDomainName('domain.io'); |
48 | $entry3->setMimetype('text/html'); | ||
46 | $entry3->setTitle('test title entry3'); | 49 | $entry3->setTitle('test title entry3'); |
47 | $entry3->setContent('This is my content /o/'); | 50 | $entry3->setContent('This is my content /o/'); |
48 | $entry3->setLanguage('en'); | 51 | $entry3->setLanguage('en'); |
@@ -63,6 +66,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
63 | $entry4->setUrl('http://0.0.0.0'); | 66 | $entry4->setUrl('http://0.0.0.0'); |
64 | $entry4->setReadingTime(12); | 67 | $entry4->setReadingTime(12); |
65 | $entry4->setDomainName('domain.io'); | 68 | $entry4->setDomainName('domain.io'); |
69 | $entry4->setMimetype('text/html'); | ||
66 | $entry4->setTitle('test title entry4'); | 70 | $entry4->setTitle('test title entry4'); |
67 | $entry4->setContent('This is my content /o/'); | 71 | $entry4->setContent('This is my content /o/'); |
68 | $entry4->setLanguage('en'); | 72 | $entry4->setLanguage('en'); |
@@ -83,6 +87,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
83 | $entry5->setUrl('http://0.0.0.0'); | 87 | $entry5->setUrl('http://0.0.0.0'); |
84 | $entry5->setReadingTime(12); | 88 | $entry5->setReadingTime(12); |
85 | $entry5->setDomainName('domain.io'); | 89 | $entry5->setDomainName('domain.io'); |
90 | $entry5->setMimetype('text/html'); | ||
86 | $entry5->setTitle('test title entry5'); | 91 | $entry5->setTitle('test title entry5'); |
87 | $entry5->setContent('This is my content /o/'); | 92 | $entry5->setContent('This is my content /o/'); |
88 | $entry5->setStarred(true); | 93 | $entry5->setStarred(true); |
@@ -97,6 +102,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
97 | $entry6->setUrl('http://0.0.0.0'); | 102 | $entry6->setUrl('http://0.0.0.0'); |
98 | $entry6->setReadingTime(12); | 103 | $entry6->setReadingTime(12); |
99 | $entry6->setDomainName('domain.io'); | 104 | $entry6->setDomainName('domain.io'); |
105 | $entry6->setMimetype('text/html'); | ||
100 | $entry6->setTitle('test title entry6'); | 106 | $entry6->setTitle('test title entry6'); |
101 | $entry6->setContent('This is my content /o/'); | 107 | $entry6->setContent('This is my content /o/'); |
102 | $entry6->setArchived(true); | 108 | $entry6->setArchived(true); |