Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
static
testsuite
Magento
Test
Legacy
ObsoleteAclTest.php
Go to the documentation of this file.
1
<?php
10
namespace
Magento\Test\Legacy
;
11
12
class
ObsoleteAclTest
extends
\PHPUnit\Framework\TestCase
13
{
14
public
function
testAclDeclarations
()
15
{
16
$invoker = new \Magento\Framework\App\Utility\AggregateInvoker($this);
17
$invoker(
21
function
($aclFile) {
22
$aclXml = simplexml_load_file($aclFile);
23
$xpath =
'/config/acl/*[boolean(./children) or boolean(./title)]'
;
24
$this->assertEmpty(
25
$aclXml->xpath($xpath),
26
'Obsolete acl structure detected in file '
. $aclFile .
'.'
27
);
28
},
29
\Magento\Framework\App\Utility\Files::init
()->getMainConfigFiles()
30
);
31
}
32
}
Magento\Framework\App\Utility\Files\init
static init()
Definition:
Files.php:147
Magento\Test\Legacy\ObsoleteAclTest\testAclDeclarations
testAclDeclarations()
Definition:
ObsoleteAclTest.php:14
Magento\Test\Legacy\ObsoleteAclTest
Definition:
ObsoleteAclTest.php:12
Magento\Test\Legacy
Definition:
AutogeneratedClassNotInConstructorTest.php:6