diff --git a/Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php b/Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php index 7cd23950..485e91f1 100644 --- a/Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php +++ b/Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php @@ -22,13 +22,15 @@ public function getErrorList(): array */ public function getWarningList($testFile = ''): array { - if ($testFile === 'CopyrightGraphQLUnitTest.1.inc' || $testFile === 'CopyrightGraphQLUnitTest.2.inc') { + if ($testFile === 'CopyrightGraphQLUnitTest.1.graphqls' || + $testFile === 'CopyrightGraphQLUnitTest.2.graphqls') { return []; } - if ($testFile === 'CopyrightGraphQLUnitTest.3.inc' || $testFile === 'CopyrightGraphQLUnitTest.4.inc') { + if ($testFile === 'CopyrightGraphQLUnitTest.3.graphqls' || + $testFile === 'CopyrightGraphQLUnitTest.4.graphqls') { return [ - 1 => 1 + null => 1 ]; }