We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e382d commit 1bb13ffCopy full SHA for 1bb13ff
dev/tests/static/testsuite/Magento/Test/Integrity/Magento/Backend/ControllerAclTest.php
@@ -148,10 +148,10 @@ private function getAclResources()
148
if ($this->aclResources !== null) {
149
return $this->aclResources;
150
}
151
- $aclFiles = array_keys(Files::init()->getConfigFiles('acl.xml', []));
+ $aclFiles = Files::init()->getConfigFiles('acl.xml', []);
152
$xmlResources = [];
153
array_map(function ($file) use (&$xmlResources) {
154
- $config = simplexml_load_file($file);
+ $config = simplexml_load_file($file[0]);
155
$nodes = $config->xpath('.//resource/@id') ?: [];
156
foreach ($nodes as $node) {
157
$xmlResources[(string)$node] = $node;
0 commit comments