Skip to content

Commit 088a09b

Browse files
committed
Fixed warning for Static Tests in Escaper Unit Test file
1 parent 95f8d36 commit 088a09b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lib/internal/Magento/Framework/Test/Unit/EscaperTest.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ public function testEscapeHtmlAttributeWithInlineTranslateEnabled(string $input,
201201
$stateMock
202202
);
203203

204-
205204
$actual = $this->escaper->escapeHtmlAttr($input);
206205
$this->assertEquals($output, $actual);
207206
}
@@ -387,11 +386,11 @@ public function escapeCssDataProvider(): array
387386
{
388387
return [
389388
[
390-
'data' => 1,
389+
'data' => 1,
391390
'expected' => '1',
392391
],
393392
[
394-
'data' => '*%string{foo}%::',
393+
'data' => '*%string{foo}%::',
395394
'expected' => '\2A \25 string\7B foo\7D \25 \3A \3A ',
396395
]
397396
];
@@ -418,19 +417,19 @@ public function encodeUrlParamDataProvider(): array
418417
{
419418
return [
420419
[
421-
'data' => "a3==",
420+
'data' => "a3==",
422421
'expected' => "a3%3D%3D",
423422
],
424423
[
425-
'data' => "example string",
424+
'data' => "example string",
426425
'expected' => "example%20string",
427426
],
428427
[
429-
'data' => 1,
428+
'data' => 1,
430429
'expected' => "1",
431430
],
432431
[
433-
'data' => null,
432+
'data' => null,
434433
'expected' => "",
435434
]
436435
];

0 commit comments

Comments
 (0)