Skip to content

Commit c95d851

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-54940: Stabilization and preparation for demo
1 parent d8a2dfb commit c95d851

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/App/Test/Unit/StaticResourceTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ public function testCatchExceptionDeveloperMode()
203203
->method('get')
204204
->with('Psr\Log\LoggerInterface')
205205
->willReturn($this->logger);
206+
$this->logger->expects($this->once())
207+
->method('critical');
206208
$bootstrap = $this->getMockBuilder(Bootstrap::class)->disableOriginalConstructor()->getMock();
207209
$bootstrap->expects($this->once())->method('isDeveloperMode')->willReturn(true);
208210
$exception = new \Exception('Error: nothing works');

0 commit comments

Comments
 (0)