Skip to content

Commit 0acd6a4

Browse files
author
Maksym Savich
committed
MAGETWO-36484: Unit test code coverage in MLS10
- Static tests failure fixes
1 parent ecb64a2 commit 0acd6a4

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

app/code/Magento/Config/Test/Unit/Block/System/Config/Form/Field/HeadingTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ public function testRender()
3131

3232
$this->assertEquals(
3333
'<tr class="system-fieldset-sub-head" id="row_' . $htmlId . '">' .
34-
'<td colspan="5">' .
35-
'<h4 id="' . $htmlId . '">' . $label . '</h4>' .
36-
'</td>' .
34+
'<td colspan="5">' .
35+
'<h4 id="' . $htmlId . '">' . $label . '</h4>' .
36+
'</td>' .
3737
'</tr>',
3838
$html
3939
);

app/code/Magento/Config/Test/Unit/Block/System/Config/Form/Field/NotificationTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ public function testRender()
5252

5353
$this->assertEquals(
5454
'<tr id="row_' . $htmlId . '">' .
55-
'<td class="label">' .
56-
'<label for="' . $htmlId . '">' . $label . '</label>' .
57-
'</td>' .
58-
'<td class="value">' .
59-
$formattedDate .
60-
'</td>' .
61-
'<td class="scope-label"></td>' .
62-
'<td class=""></td>' .
55+
'<td class="label">' .
56+
'<label for="' . $htmlId . '">' . $label . '</label>' .
57+
'</td>' .
58+
'<td class="value">' .
59+
$formattedDate .
60+
'</td>' .
61+
'<td class="scope-label"></td>' .
62+
'<td class=""></td>' .
6363
'</tr>',
6464
$html
6565
);

app/code/Magento/Config/Test/Unit/Block/System/Config/Form/Fieldset/Modules/DisableOutputTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testRender()
4545
->disableOriginalConstructor()
4646
->setMethods(
4747
[
48-
'getHtmlId', 'getExpanded', 'getElements','getLegend',
48+
'getHtmlId', 'getExpanded', 'getElements', 'getLegend',
4949
'getComment', 'addField', 'setRenderer', 'toHtml'
5050
]
5151
)->getMock();

0 commit comments

Comments
 (0)