Skip to content

Commit

Permalink
Merge pull request #123 from magento-commerce/imported-eliseacornejo-…
Browse files Browse the repository at this point in the history
…magento-coding-standard-334

[Imported] Fix unit tests
  • Loading branch information
eliseacornejo authored Nov 18, 2021
2 parents a0e4677 + b485a41 commit 6c6c082
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
}

Expand Down

0 comments on commit 6c6c082

Please sign in to comment.