We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4177694 commit 6dbbb74Copy full SHA for 6dbbb74
app/code/Magento/Config/Test/Unit/Model/Config/ImporterTest.php
@@ -155,11 +155,12 @@ public function testImport()
155
->method('emulateAreaCode')
156
->with(Area::AREA_ADMINHTML, $this->anything())
157
->willReturnCallback(function ($area, $function) {
158
+ $this->assertEquals(Area::AREA_ADMINHTML, $area);
159
return $function();
160
});
161
$this->scopeMock->expects($this->at(1))
162
->method('setCurrentScope')
- ->with('adminhtml');
163
+ ->with(Area::AREA_ADMINHTML);
164
$this->scopeMock->expects($this->at(2))
165
166
->with('oldScope');
0 commit comments