diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php')
-rw-r--r-- | src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php index 3b3c1e97..85084960 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadConfigData.php | |||
@@ -40,6 +40,15 @@ class LoadConfigData extends AbstractFixture implements OrderedFixtureInterface | |||
40 | 40 | ||
41 | $this->addReference('bob-config', $bobConfig); | 41 | $this->addReference('bob-config', $bobConfig); |
42 | 42 | ||
43 | $emptyConfig = new Config($this->getReference('empty-user')); | ||
44 | $emptyConfig->setTheme('material'); | ||
45 | $emptyConfig->setItemsPerPage(10); | ||
46 | $emptyConfig->setLanguage('en'); | ||
47 | |||
48 | $manager->persist($emptyConfig); | ||
49 | |||
50 | $this->addReference('empty-config', $emptyConfig); | ||
51 | |||
43 | $manager->flush(); | 52 | $manager->flush(); |
44 | } | 53 | } |
45 | 54 | ||