File tree 1 file changed +4
-0
lines changed
tests/unit/Mage/Core/Helper
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
106
106
}
107
107
108
108
/**
109
+ * @runInSeparateProcess
109
110
* @dataProvider envOverridesCorrectConfigKeysDataProvider
110
111
* @group Mage_Core
111
112
* @group Mage_Core_Helper
@@ -124,6 +125,7 @@ public function testEnvOverridesForValidConfigKeys(array $config): void
124
125
// phpcs:ignore Ecg.Classes.ObjectInstantiation.DirectInstantiation
125
126
$ loader = new Mage_Core_Helper_EnvironmentConfigLoader ();
126
127
$ loader ->setEnvStore ([
128
+ 'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 ,
127
129
$ config ['env_path ' ] => $ config ['value ' ],
128
130
]);
129
131
$ loader ->overrideEnvironment ($ xml );
@@ -207,6 +209,7 @@ public function envOverridesCorrectConfigKeysDataProvider(): Generator
207
209
}
208
210
209
211
/**
212
+ * @runInSeparateProcess
210
213
* @dataProvider envDoesNotOverrideOnWrongConfigKeysDataProvider
211
214
* @group Mage_Core
212
215
*
@@ -231,6 +234,7 @@ public function testEnvDoesNotOverrideForInvalidConfigKeys(array $config): void
231
234
// phpcs:ignore Ecg.Classes.ObjectInstantiation.DirectInstantiation
232
235
$ loader = new Mage_Core_Helper_EnvironmentConfigLoader ();
233
236
$ loader ->setEnvStore ([
237
+ 'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 ,
234
238
$ config ['path ' ] => $ config ['value ' ],
235
239
]);
236
240
$ loader ->overrideEnvironment ($ xml );
You can’t perform that action at this time.
0 commit comments