From db9b6d8d0d9f943fe321ea690701662dac828e94 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Mon, 26 Nov 2018 20:00:01 +0100 Subject: [PATCH] Update fixtures --- app/config/services_test.yml | 12 ++++++------ ...nnotationData.php => AnnotationFixtures.php} | 17 +++++++++++------ .../LoadConfigData.php => ConfigFixtures.php} | 15 +++++++++------ .../LoadEntryData.php => EntryFixtures.php} | 16 ++++++++++------ .../LoadSettingData.php => SettingFixtures.php} | 16 ++++------------ ...ntialData.php => SiteCredentialFixtures.php} | 15 +++++++++------ .../{ORM/LoadTagData.php => TagFixtures.php} | 16 ++++------------ ...gingRuleData.php => TaggingRuleFixtures.php} | 14 ++++++++------ .../{ORM/LoadUserData.php => UserFixtures.php} | 15 +++------------ 9 files changed, 64 insertions(+), 72 deletions(-) rename src/Wallabag/AnnotationBundle/DataFixtures/{ORM/LoadAnnotationData.php => AnnotationFixtures.php} (67%) rename src/Wallabag/CoreBundle/DataFixtures/{ORM/LoadConfigData.php => ConfigFixtures.php} (81%) rename src/Wallabag/CoreBundle/DataFixtures/{ORM/LoadEntryData.php => EntryFixtures.php} (90%) rename src/Wallabag/CoreBundle/DataFixtures/{ORM/LoadSettingData.php => SettingFixtures.php} (71%) rename src/Wallabag/CoreBundle/DataFixtures/{ORM/LoadSiteCredentialData.php => SiteCredentialFixtures.php} (58%) rename src/Wallabag/CoreBundle/DataFixtures/{ORM/LoadTagData.php => TagFixtures.php} (70%) rename src/Wallabag/CoreBundle/DataFixtures/{ORM/LoadTaggingRuleData.php => TaggingRuleFixtures.php} (77%) rename src/Wallabag/UserBundle/DataFixtures/{ORM/LoadUserData.php => UserFixtures.php} (79%) diff --git a/app/config/services_test.yml b/app/config/services_test.yml index a300f75d..1b3aff63 100644 --- a/app/config/services_test.yml +++ b/app/config/services_test.yml @@ -22,17 +22,17 @@ services: - "%kernel.cache_dir%/doctrine/metadata" # fixtures - Wallabag\AnnotationBundle\DataFixtures\ORM\: - resource: '../../src/Wallabag/AnnotationBundle/DataFixtures/ORM/*' + Wallabag\UserBundle\DataFixtures\: + resource: '../../src/Wallabag/UserBundle/DataFixtures/*' tags: ['doctrine.fixture.orm'] autowire: true - Wallabag\CoreBundle\DataFixtures\ORM\: - resource: '../../src/Wallabag/CoreBundle/DataFixtures/ORM/*' + Wallabag\CoreBundle\DataFixtures\: + resource: '../../src/Wallabag/CoreBundle/DataFixtures/*' tags: ['doctrine.fixture.orm'] autowire: true - Wallabag\UserBundle\DataFixtures\ORM\: - resource: '../../src/Wallabag/UserBundle/DataFixtures/ORM/*' + Wallabag\AnnotationBundle\DataFixtures\: + resource: '../../src/Wallabag/AnnotationBundle/DataFixtures/*' tags: ['doctrine.fixture.orm'] autowire: true diff --git a/src/Wallabag/AnnotationBundle/DataFixtures/ORM/LoadAnnotationData.php b/src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php similarity index 67% rename from src/Wallabag/AnnotationBundle/DataFixtures/ORM/LoadAnnotationData.php rename to src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php index 20e07fa3..ed46cea9 100644 --- a/src/Wallabag/AnnotationBundle/DataFixtures/ORM/LoadAnnotationData.php +++ b/src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php @@ -1,13 +1,15 @@ flush(); } - - /** - * {@inheritdoc} - */ - public function getOrder() - { - return 29; - } } diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSiteCredentialData.php b/src/Wallabag/CoreBundle/DataFixtures/SiteCredentialFixtures.php similarity index 58% rename from src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSiteCredentialData.php rename to src/Wallabag/CoreBundle/DataFixtures/SiteCredentialFixtures.php index 866f55a4..c73173e8 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSiteCredentialData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/SiteCredentialFixtures.php @@ -1,13 +1,14 @@ flush(); } - - /** - * {@inheritdoc} - */ - public function getOrder() - { - return 25; - } } diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php b/src/Wallabag/CoreBundle/DataFixtures/TaggingRuleFixtures.php similarity index 77% rename from src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php rename to src/Wallabag/CoreBundle/DataFixtures/TaggingRuleFixtures.php index 55abd63c..78ff314a 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/TaggingRuleFixtures.php @@ -1,13 +1,13 @@ flush(); } - - /** - * {@inheritdoc} - */ - public function getOrder() - { - return 10; - } } -- 2.41.0