Skip to content

Commit 6a82bf7

Browse files
committed
Data Provider keys added with description
1 parent a208226 commit 6a82bf7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/code/Magento/Theme/Test/Unit/Controller/Result/JsFooterPluginTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function setUp(): void
6666
public function sendResponseDataProvider(): array
6767
{
6868
return [
69-
[
69+
'content_with_script_tag' => [
7070
"content" => "<body><h1>Test Title</h1>" .
7171
"<script type=\"text/x-magento-init\">test</script>" .
7272
"<script type=\"text/x-magento-template\">test</script>" .
@@ -78,12 +78,12 @@ public function sendResponseDataProvider(): array
7878
"<script type=\"text/x-magento-init\">test</script>" .
7979
"\n</body>"
8080
],
81-
[
81+
'content_with_config_disable' => [
8282
"content" => "<body><p>Test Content</p></body>",
8383
"flag" => false,
8484
"result" => "<body><p>Test Content</p></body>"
8585
],
86-
[
86+
'content_without_script_tag' => [
8787
"content" => "<body><p>Test Content</p></body>",
8888
"flag" => true,
8989
"result" => "<body><p>Test Content</p>\n</body>"
@@ -129,10 +129,10 @@ public function testBeforeSendResponse($content, $isSetFlag, $result): void
129129
public function ifGetContentIsNotAStringDataProvider(): array
130130
{
131131
return [
132-
[
132+
'empty_array' => [
133133
'content' => []
134134
],
135-
[
135+
'null' => [
136136
'content' => NULL
137137
]
138138
];

0 commit comments

Comments
 (0)