Add AclAware Trait

This commit is contained in:
Benoît Burnichon
2015-06-30 20:09:23 +02:00
parent 4880f2bf5a
commit d645b92afa
52 changed files with 267 additions and 186 deletions

View File

@@ -10,7 +10,7 @@ class ACLProviderTest extends \PhraseanetTestCase
{
public function testGetACL()
{
$acl = self::$DI['app']['acl']->get(self::$DI['user']);
$acl = self::$DI['app']->getAclForUser(self::$DI['user']);
$this->assertInstanceOf('\ACL', $acl);
}