From 0e24ef1b7038db90a1113c9afb7190953f1457b2 Mon Sep 17 00:00:00 2001 From: mage2pratik Date: Wed, 25 Jul 2018 23:24:30 +0530 Subject: [PATCH] Update regex in ControllerAclTest --- .../Test/Integrity/Magento/Backend/ControllerAclTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tests/static/testsuite/Magento/Test/Integrity/Magento/Backend/ControllerAclTest.php b/dev/tests/static/testsuite/Magento/Test/Integrity/Magento/Backend/ControllerAclTest.php index 187cb9087013e..f204019988b79 100644 --- a/dev/tests/static/testsuite/Magento/Test/Integrity/Magento/Backend/ControllerAclTest.php +++ b/dev/tests/static/testsuite/Magento/Test/Integrity/Magento/Backend/ControllerAclTest.php @@ -232,7 +232,7 @@ private function isItTest($relativeFilePath) */ private function getControllerPath($relativeFilePath) { - if (preg_match('~(Magento\/.*Controller\/Adminhtml\/.*)\.php~', $relativeFilePath, $matches)) { + if (preg_match('~(Magento\/[^\/]+\/Controller\/Adminhtml\/.*)\.php~', $relativeFilePath, $matches)) { if (count($matches) === 2) { $partPath = $matches[1]; return $partPath;