File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2424use Contao \ManagerPlugin \Bundle \BundlePluginInterface ;
2525use Contao \ManagerPlugin \Bundle \Config \BundleConfig ;
2626use Contao \ManagerPlugin \Bundle \Parser \ParserInterface ;
27+ use MetaModels \AttributeFileBundle \MetaModelsAttributeFileBundle ;
2728use MetaModels \AttributeTranslatedFileBundle \MetaModelsAttributeTranslatedFileBundle ;
2829use MetaModels \CoreBundle \MetaModelsCoreBundle ;
2930
@@ -42,7 +43,8 @@ public function getBundles(ParserInterface $parser)
4243 ->setLoadAfter (
4344 [
4445 ContaoCoreBundle::class,
45- MetaModelsCoreBundle::class
46+ MetaModelsCoreBundle::class,
47+ MetaModelsAttributeFileBundle::class
4648 ]
4749 )
4850 ->setReplace (['metamodelsattribute_translatedfile ' ])
Original file line number Diff line number Diff line change 2424use Contao \ManagerPlugin \Bundle \BundlePluginInterface ;
2525use Contao \ManagerPlugin \Bundle \Config \BundleConfig ;
2626use Contao \ManagerPlugin \Bundle \Parser \ParserInterface ;
27+ use MetaModels \AttributeFileBundle \MetaModelsAttributeFileBundle ;
2728use MetaModels \AttributeTranslatedFileBundle \ContaoManager \Plugin ;
2829use MetaModels \CoreBundle \MetaModelsCoreBundle ;
2930use PHPUnit \Framework \TestCase ;
@@ -63,7 +64,14 @@ public function testBundleConfig()
6364 /** @var BundleConfig $bundleConfig */
6465 $ bundleConfig = $ bundles [0 ];
6566
66- $ this ->assertEquals ($ bundleConfig ->getLoadAfter (), [ContaoCoreBundle::class, MetaModelsCoreBundle::class]);
67+ $ this ->assertEquals (
68+ $ bundleConfig ->getLoadAfter (),
69+ [
70+ ContaoCoreBundle::class,
71+ MetaModelsCoreBundle::class,
72+ MetaModelsAttributeFileBundle::class
73+ ]
74+ );
6775 $ this ->assertEquals ($ bundleConfig ->getReplace (), ['metamodelsattribute_translatedfile ' ]);
6876 }
6977}
You can’t perform that action at this time.
0 commit comments