@@ -202,11 +202,6 @@ public function testExecute()
202
202
*/
203
203
private function validateSystemSection (array $ config )
204
204
{
205
- $ themesMap = [
206
- 1 => 'adminhtml/Magento/backend ' ,
207
- 2 => 'frontend/Magento/blank ' ,
208
- 3 => 'frontend/Magento/luma '
209
- ];
210
205
$ this ->assertArrayHasKey ('test_value_1 ' , $ config ['system ' ]['default ' ]['web ' ]['test ' ]);
211
206
$ this ->assertArrayHasKey ('test_value_2 ' , $ config ['system ' ]['default ' ]['web ' ]['test ' ]);
212
207
$ this ->assertArrayHasKey ('test_sensitive1 ' , $ config ['system ' ]['default ' ]['web ' ]['test ' ]);
@@ -220,9 +215,18 @@ private function validateSystemSection(array $config)
220
215
$ this ->assertArrayNotHasKey ('test_sensitive_environment6 ' , $ config ['system ' ]['default ' ]['web ' ]['test ' ]);
221
216
$ this ->assertArrayNotHasKey ('test_environment9 ' , $ config ['system ' ]['default ' ]['web ' ]['test ' ]);
222
217
/** @see Magento/Deploy/_files/config_data.php */
223
- $ this ->assertEquals ($ themesMap [2 ], $ config ['system ' ]['default ' ]['design ' ]['theme ' ]['theme_id ' ]);
224
- $ this ->assertEquals ($ themesMap [3 ], $ config ['system ' ]['stores ' ]['default ' ]['design ' ]['theme ' ]['theme_id ' ]);
225
- $ this ->assertEquals ($ themesMap [3 ], $ config ['system ' ]['websites ' ]['base ' ]['design ' ]['theme ' ]['theme_id ' ]);
218
+ $ this ->assertEquals (
219
+ 'frontend/Magento/blank ' ,
220
+ $ config ['system ' ]['default ' ]['design ' ]['theme ' ]['theme_id ' ]
221
+ );
222
+ $ this ->assertEquals (
223
+ 'frontend/Magento/luma ' ,
224
+ $ config ['system ' ]['stores ' ]['default ' ]['design ' ]['theme ' ]['theme_id ' ]
225
+ );
226
+ $ this ->assertEquals (
227
+ 'frontend/Magento/luma ' ,
228
+ $ config ['system ' ]['websites ' ]['base ' ]['design ' ]['theme ' ]['theme_id ' ]
229
+ );
226
230
227
231
$ this ->assertEquals ('value from the file ' , $ config ['system ' ]['default ' ]['web ' ]['test ' ]['test_value_3 ' ]);
228
232
$ this ->assertEquals ('GB ' , $ config ['system ' ]['default ' ]['general ' ]['country ' ]['default ' ]);
0 commit comments