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 d8a2dfb commit c95d851Copy full SHA for c95d851
lib/internal/Magento/Framework/App/Test/Unit/StaticResourceTest.php
@@ -203,6 +203,8 @@ public function testCatchExceptionDeveloperMode()
203
->method('get')
204
->with('Psr\Log\LoggerInterface')
205
->willReturn($this->logger);
206
+ $this->logger->expects($this->once())
207
+ ->method('critical');
208
$bootstrap = $this->getMockBuilder(Bootstrap::class)->disableOriginalConstructor()->getMock();
209
$bootstrap->expects($this->once())->method('isDeveloperMode')->willReturn(true);
210
$exception = new \Exception('Error: nothing works');
0 commit comments