Skip to content

Commit b447172

Browse files
author
Natalia Momotenko
committed
Merge branch 'bugfixes' of github.com:magento-webdev/magento2ce into bugfixes
2 parents 8df61e0 + 5491c30 commit b447172

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/internal/Magento/Framework/View/Test/Unit/Layout/Data/StructureTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function testReorderChildElementLog($loggerExpects, $stateMode)
6464
->method('getMode')
6565
->willReturn($stateMode);
6666
$this->loggerMock->expects($loggerExpects)
67-
->method('critical')
67+
->method('info')
6868
->with(
6969
"Broken reference: the '{$childName}' tries to reorder itself towards '', but " .
7070
"their parents are different: '{$parentName}' and '' respectively."

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)