summaryrefslogtreecommitdiff
path: root/tests/units/Model/AclTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Model/AclTest.php')
-rw-r--r--tests/units/Model/AclTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/units/Model/AclTest.php b/tests/units/Model/AclTest.php
index 3cb28a77..205e7ee3 100644
--- a/tests/units/Model/AclTest.php
+++ b/tests/units/Model/AclTest.php
@@ -17,6 +17,7 @@ class AclTest extends Base
'controller3' => '*',
'controller5' => '-',
'controller6' => array(),
+ 'controllera' => '*',
);
$acl = new Acl($this->container);
@@ -30,6 +31,8 @@ class AclTest extends Base
$this->assertFalse($acl->matchAcl($acl_rules, 'controller4', 'anything'));
$this->assertFalse($acl->matchAcl($acl_rules, 'controller5', 'anything'));
$this->assertFalse($acl->matchAcl($acl_rules, 'controller6', 'anything'));
+ $this->assertTrue($acl->matchAcl($acl_rules, 'ControllerA', 'anything'));
+ $this->assertTrue($acl->matchAcl($acl_rules, 'controllera', 'anything'));
}
public function testPublicActions()