Skip to content

Commit 15fd9be

Browse files
committed
AC-10521: Update the check to Adminhtml namespace
1 parent cb51d12 commit 15fd9be

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
@@ -146,7 +146,7 @@ private static function getModuleName(string $filePath): string
146146
private static function isViewLayerClass(string $filePath): bool
147147
{
148148
$className = self::getClassNameWithNamespace($filePath);
149-
if (!$className || str_contains(strtolower($className), 'admin')) {
149+
if (!$className || str_contains(strtolower($className), 'adminhtml')) {
150150
return false;
151151
}
152152

0 commit comments

Comments
 (0)