Skip to content

Commit 02398af

Browse files
committed
consistently use str_replace to unify directory separators (remaining)
1 parent 22ecd3a commit 02398af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Functional/SetAclCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function testSetAclRole()
8989
$setAclCommandTester = new CommandTester($setAclCommand);
9090
$setAclCommandTester->execute(array(
9191
'command' => 'acl:set',
92-
'arguments' => array($grantedPermission, sprintf('%s:%s', strtr(self::OBJECT_CLASS, '\\', '/'), $objectId)),
92+
'arguments' => array($grantedPermission, sprintf('%s:%s', str_replace('\\', '/', self::OBJECT_CLASS), $objectId)),
9393
'--role' => array($role),
9494
));
9595

0 commit comments

Comments
 (0)