File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
tests/unit/Mage/Core/Helper Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ public function testXmlHasTestStrings(): void
106106 }
107107
108108 /**
109+ * @runInSeparateProcess
109110 * @dataProvider envOverridesCorrectConfigKeysDataProvider
110111 * @group Mage_Core
111112 * @group Mage_Core_Helper
@@ -124,6 +125,7 @@ public function testEnvOverridesForValidConfigKeys(array $config): void
124125 // phpcs:ignore Ecg.Classes.ObjectInstantiation.DirectInstantiation
125126 $ loader = new Mage_Core_Helper_EnvironmentConfigLoader ();
126127 $ loader ->setEnvStore ([
128+ 'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 ,
127129 $ config ['env_path ' ] => $ config ['value ' ],
128130 ]);
129131 $ loader ->overrideEnvironment ($ xml );
@@ -207,6 +209,7 @@ public function envOverridesCorrectConfigKeysDataProvider(): Generator
207209 }
208210
209211 /**
212+ * @runInSeparateProcess
210213 * @dataProvider envDoesNotOverrideOnWrongConfigKeysDataProvider
211214 * @group Mage_Core
212215 *
@@ -231,6 +234,7 @@ public function testEnvDoesNotOverrideForInvalidConfigKeys(array $config): void
231234 // phpcs:ignore Ecg.Classes.ObjectInstantiation.DirectInstantiation
232235 $ loader = new Mage_Core_Helper_EnvironmentConfigLoader ();
233236 $ loader ->setEnvStore ([
237+ 'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 ,
234238 $ config ['path ' ] => $ config ['value ' ],
235239 ]);
236240 $ loader ->overrideEnvironment ($ xml );
You can’t perform that action at this time.
0 commit comments