File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
dev/tests/static/testsuite/Magento/Test/GraphQl Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ public function testModulesRequireGraphQLChange(): void
82
82
$ modulesRequireGraphQLChange ,
83
83
"The view layer changes have been detected in the " .
84
84
str_replace ("GraphQl " , "" , $ graphQlModules ) . " module. " .
85
- "The " . $ graphQlModules ." module is expected to be updated to reflect these changes. "
85
+ "The " . $ graphQlModules ." module is expected to be updated to reflect these changes. " .
86
+ "The test failure can be ignored if the changes can not be covered with GraphQL API. "
86
87
);
87
88
}
88
89
@@ -145,7 +146,7 @@ private static function getModuleName(string $filePath): string
145
146
private static function isViewLayerClass (string $ filePath ): bool
146
147
{
147
148
$ className = self ::getClassNameWithNamespace ($ filePath );
148
- if (!$ className ) {
149
+ if (!$ className || str_contains ( strtolower ( $ className ), ' adminhtml ' ) ) {
149
150
return false ;
150
151
}
151
152
You can’t perform that action at this time.
0 commit comments