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 22ecd3a commit 02398afCopy full SHA for 02398af
Tests/Functional/SetAclCommandTest.php
@@ -89,7 +89,7 @@ public function testSetAclRole()
89
$setAclCommandTester = new CommandTester($setAclCommand);
90
$setAclCommandTester->execute(array(
91
'command' => 'acl:set',
92
- 'arguments' => array($grantedPermission, sprintf('%s:%s', strtr(self::OBJECT_CLASS, '\\', '/'), $objectId)),
+ 'arguments' => array($grantedPermission, sprintf('%s:%s', str_replace('\\', '/', self::OBJECT_CLASS), $objectId)),
93
'--role' => array($role),
94
));
95
0 commit comments