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 3b0ec66 commit 8d7c500Copy full SHA for 8d7c500
lib/internal/Magento/Framework/App/Test/Unit/FrontControllerTest.php
@@ -191,8 +191,8 @@ public function testDispatchedLocalizedException()
191
$controllerInstance->expects($this->any())
192
->method('dispatch')
193
->with($this->request)
194
- ->willThrowException(new \Magento\Framework\Exception\LocalizedException(
195
- new \Magento\Framework\Phrase($message))
+ ->willThrowException(
+ new \Magento\Framework\Exception\LocalizedException(new \Magento\Framework\Phrase($message))
196
);
197
$controllerInstance->expects($this->once())->method('getDefaultRedirect')->willReturn($this->resultRedirect);
198
0 commit comments