aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-03-08 16:48:30 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-03-14 13:01:31 +0100
commit889c1cf328d50c032797a007ede313b1ab1b026b (patch)
tree0a6cc7cd89b3a69f72e02caa9748de13dfa51f86
parentbca5485946a72942c76dbb65c29e40818dca4976 (diff)
downloadwallabag-889c1cf328d50c032797a007ede313b1ab1b026b.tar.gz
wallabag-889c1cf328d50c032797a007ede313b1ab1b026b.tar.zst
wallabag-889c1cf328d50c032797a007ede313b1ab1b026b.zip
Fixed fixtures for config
-rw-r--r--src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php
index 85084960..5a376453 100644
--- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php
+++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php
@@ -25,6 +25,7 @@ class LoadConfigData extends AbstractFixture implements OrderedFixtureInterface
25 25
26 $adminConfig->setTheme('material'); 26 $adminConfig->setTheme('material');
27 $adminConfig->setItemsPerPage(30); 27 $adminConfig->setItemsPerPage(30);
28 $adminConfig->setReadingSpeed(1);
28 $adminConfig->setLanguage('en'); 29 $adminConfig->setLanguage('en');
29 30
30 $manager->persist($adminConfig); 31 $manager->persist($adminConfig);
@@ -34,6 +35,7 @@ class LoadConfigData extends AbstractFixture implements OrderedFixtureInterface
34 $bobConfig = new Config($this->getReference('bob-user')); 35 $bobConfig = new Config($this->getReference('bob-user'));
35 $bobConfig->setTheme('default'); 36 $bobConfig->setTheme('default');
36 $bobConfig->setItemsPerPage(10); 37 $bobConfig->setItemsPerPage(10);
38 $bobConfig->setReadingSpeed(1);
37 $bobConfig->setLanguage('fr'); 39 $bobConfig->setLanguage('fr');
38 40
39 $manager->persist($bobConfig); 41 $manager->persist($bobConfig);
@@ -43,6 +45,7 @@ class LoadConfigData extends AbstractFixture implements OrderedFixtureInterface
43 $emptyConfig = new Config($this->getReference('empty-user')); 45 $emptyConfig = new Config($this->getReference('empty-user'));
44 $emptyConfig->setTheme('material'); 46 $emptyConfig->setTheme('material');
45 $emptyConfig->setItemsPerPage(10); 47 $emptyConfig->setItemsPerPage(10);
48 $emptyConfig->setReadingSpeed(1);
46 $emptyConfig->setLanguage('en'); 49 $emptyConfig->setLanguage('en');
47 50
48 $manager->persist($emptyConfig); 51 $manager->persist($emptyConfig);