Skip to content

Commit 6c6c082

Browse files
Merge pull request #123 from magento-commerce/imported-eliseacornejo-magento-coding-standard-334
[Imported] Fix unit tests
2 parents a0e4677 + b485a41 commit 6c6c082

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ public function getErrorList(): array
2222
*/
2323
public function getWarningList($testFile = ''): array
2424
{
25-
if ($testFile === 'CopyrightGraphQLUnitTest.1.inc' || $testFile === 'CopyrightGraphQLUnitTest.2.inc') {
25+
if ($testFile === 'CopyrightGraphQLUnitTest.1.graphqls' ||
26+
$testFile === 'CopyrightGraphQLUnitTest.2.graphqls') {
2627
return [];
2728
}
2829

29-
if ($testFile === 'CopyrightGraphQLUnitTest.3.inc' || $testFile === 'CopyrightGraphQLUnitTest.4.inc') {
30+
if ($testFile === 'CopyrightGraphQLUnitTest.3.graphqls' ||
31+
$testFile === 'CopyrightGraphQLUnitTest.4.graphqls') {
3032
return [
31-
1 => 1
33+
null => 1
3234
];
3335
}
3436

0 commit comments

Comments
 (0)