Skip to content

Commit 91c8d1a

Browse files
committed
Ignore the whitelist file if namespace contains 'admin'
1 parent a3be302 commit 91c8d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/static/testsuite/Magento/Test/GraphQl/LiveCodeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private static function getModulesRequiringGraphQLChange(): array
104104
$requireGraphQLChanges = [];
105105
foreach ($whitelistFiles as $whitelistFile) {
106106

107-
if (str_contains($whitelistFile, 'Adminhtml')) {
107+
if (str_contains(strtolower($whitelistFile), 'admin')) {
108108
continue;
109109
}
110110

0 commit comments

Comments
 (0)