Skip to content

Commit 1986568

Browse files
author
Stanislav Idolov
authored
ENGCOM-1673: Fixes in config module #15511
2 parents 3b35bc5 + c7d6259 commit 1986568

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Config/Model/Config/Importer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function import(array $data)
124124
$this->scopeConfig->clean();
125125
}
126126

127-
$this->state->emulateAreaCode(Area::AREA_ADMINHTML, function () use ($changedData, $data) {
127+
$this->state->emulateAreaCode(Area::AREA_ADMINHTML, function () use ($changedData) {
128128
$this->scope->setCurrentScope(Area::AREA_ADMINHTML);
129129

130130
// Invoke saving of new values.

app/code/Magento/Config/Test/Unit/Block/System/Config/Form/Field/ImageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function testGetElementHtmlWithValue()
7474
'showInWebsite' => '1',
7575
'showInStore' => '1',
7676
'label' => null,
77-
'backend_model' => \Magento\BackendModelConfig\Backend\Image::class,
77+
'backend_model' => \Magento\Config\Model\Config\Backend\Image::class,
7878
'upload_dir' => [
7979
'config' => 'system/filesystem/media',
8080
'scope_info' => '1',

0 commit comments

Comments
 (0)