Skip to content

Commit 18ff789

Browse files
committed
Fix unit tests
1 parent a0e4677 commit 18ff789

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ 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 [
3133
1 => 1
3234
];

0 commit comments

Comments
 (0)