Skip to content

Commit 5491c30

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-53410: [GitHUB] Constant critical errors in system.log
- Fixes for failed unit tests on Bamboo
1 parent 4ba7f02 commit 5491c30

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/View/Test/Unit/Layout/ScheduledStructure

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Test/Unit/Layout/ScheduledStructure/HelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function testScheduleElementLog($loggerExpects, $stateMode)
181181
->method('getMode')
182182
->willReturn($stateMode);
183183
$this->loggerMock->expects($loggerExpects)
184-
->method('critical')
184+
->method('info')
185185
->with(
186186
"Broken reference: the '{$key}' element cannot be added as child to '{$parentName}', " .
187187
'because the latter doesn\'t exist'

0 commit comments

Comments
 (0)