Skip to content

Commit 6dbbb74

Browse files
author
Bohdan Korablov
committed
MAGETWO-69584: Command config:sensitive:set does not work on the cloud
1 parent 4177694 commit 6dbbb74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Config/Test/Unit/Model/Config/ImporterTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,12 @@ public function testImport()
155155
->method('emulateAreaCode')
156156
->with(Area::AREA_ADMINHTML, $this->anything())
157157
->willReturnCallback(function ($area, $function) {
158+
$this->assertEquals(Area::AREA_ADMINHTML, $area);
158159
return $function();
159160
});
160161
$this->scopeMock->expects($this->at(1))
161162
->method('setCurrentScope')
162-
->with('adminhtml');
163+
->with(Area::AREA_ADMINHTML);
163164
$this->scopeMock->expects($this->at(2))
164165
->method('setCurrentScope')
165166
->with('oldScope');

0 commit comments

Comments
 (0)