Skip to content

Commit 1e82777

Browse files
committed
Refactor by review comment
1 parent 8a96c58 commit 1e82777

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Store/Test/Unit/Controller/Store/RedirectTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ public function testRedirectWithThrowsException(string $defaultStoreViewCode, st
227227
$this->messageManagerMock
228228
->expects($this->once())
229229
->method('addErrorMessage')
230+
->with("Requested store is not found ({$defaultStoreViewCode})")
230231
->willReturnSelf();
231232
$this->currentStoreMock
232233
->expects($this->once())

0 commit comments

Comments
 (0)