Add ACL Service

This commit is contained in:
Nicolas Le Goff
2013-10-30 14:18:37 +01:00
parent 414f6b60af
commit 21eec6dbbe
5 changed files with 153 additions and 19 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace Alchemy\Tests\Phrasea\Authentication;
use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Authentication\ACLProvider;
class ACLProviderTest extends \PhraseanetPHPUnitAbstract
{
public function testGetACL()
{
$acl = self::$DI['app']['acl']->get(self::$DI['user']);
$this->assertInstanceOf('\ACL', $acl);
}
}