mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add ACL Service
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user