Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 68eadc2

Browse filesBrowse files
Fixed graphql unit test failing as it was extending from a wrong class (#134)
Co-authored-by: Sergio Vera <svera@adobe.com>
1 parent 90ee488 commit 68eadc2
Copy full SHA for 68eadc2

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php

Copy file name to clipboardExpand all lines: Magento2Framework/Tests/Header/CopyrightGraphQLUnitTest.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
*/
66
namespace Magento2Framework\Tests\Header;
77

8-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
8+
use Magento2\Tests\GraphQL\AbstractGraphQLSniffUnitTestCase;
99

10-
class CopyrightGraphQLUnitTest extends AbstractSniffUnitTest
10+
class CopyrightGraphQLUnitTest extends AbstractGraphQLSniffUnitTestCase
1111
{
1212
/**
1313
* @inheritdoc
@@ -22,12 +22,12 @@ public function getErrorList(): array
2222
*/
2323
public function getWarningList($testFile = ''): array
2424
{
25-
if ($testFile === 'CopyrightGraphQLUnitTest.1.graphqls' ||
25+
if ($testFile === 'CopyrightGraphQLUnitTest.1.graphqls' ||
2626
$testFile === 'CopyrightGraphQLUnitTest.2.graphqls') {
2727
return [];
2828
}
2929

30-
if ($testFile === 'CopyrightGraphQLUnitTest.3.graphqls' ||
30+
if ($testFile === 'CopyrightGraphQLUnitTest.3.graphqls' ||
3131
$testFile === 'CopyrightGraphQLUnitTest.4.graphqls') {
3232
return [
3333
null => 1

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.