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 @@ -97,6 +97,7 @@ public function testXmlHasTestStrings(): void
97
97
}
98
98
99
99
/**
100
+ * @runInSeparateProcess
100
101
* @dataProvider envOverridesCorrectConfigKeysDataProvider
101
102
* @group Helper
102
103
*
@@ -114,6 +115,7 @@ public function testEnvOverridesForValidConfigKeys(array $config): void
114
115
$ loader = new Mage_Core_Helper_EnvironmentConfigLoader ();
115
116
/** @phpstan-ignore method.internal */
116
117
$ loader ->setEnvStore ([
118
+ 'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 ,
117
119
$ config ['env_path ' ] => $ config ['value ' ],
118
120
]);
119
121
$ loader ->overrideEnvironment ($ xml );
@@ -197,6 +199,7 @@ public function envOverridesCorrectConfigKeysDataProvider(): Generator
197
199
}
198
200
199
201
/**
202
+ * @runInSeparateProcess
200
203
* @dataProvider envDoesNotOverrideOnWrongConfigKeysDataProvider
201
204
* @group Helper
202
205
*
@@ -221,6 +224,7 @@ public function testEnvDoesNotOverrideForInvalidConfigKeys(array $config): void
221
224
$ loader = new Mage_Core_Helper_EnvironmentConfigLoader ();
222
225
/** @phpstan-ignore method.internal */
223
226
$ loader ->setEnvStore ([
227
+ 'OPENMAGE_CONFIG_OVERRIDE_ALLOWED ' => 1 ,
224
228
$ config ['path ' ] => $ config ['value ' ],
225
229
]);
226
230
$ loader ->overrideEnvironment ($ xml );
You can’t perform that action at this time.
0 commit comments