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
8282 $ modulesRequireGraphQLChange ,
8383 "The view layer changes have been detected in the " .
8484 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. "
8687 );
8788 }
8889
@@ -145,7 +146,7 @@ private static function getModuleName(string $filePath): string
145146 private static function isViewLayerClass (string $ filePath ): bool
146147 {
147148 $ className = self ::getClassNameWithNamespace ($ filePath );
148- if (!$ className ) {
149+ if (!$ className || str_contains ( strtolower ( $ className ), ' adminhtml ' ) ) {
149150 return false ;
150151 }
151152
You can’t perform that action at this time.
0 commit comments