mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Coding standards
This commit is contained in:
@@ -12,7 +12,7 @@ class ControllerTest extends \PhraseanetPHPUnitAbstract
|
||||
public function testGet()
|
||||
{
|
||||
$provider = \Alchemy\Phrasea\Vocabulary\Controller::get('User');
|
||||
|
||||
|
||||
$this->assertInstanceOf('\\Alchemy\\Phrasea\\Vocabulary\\ControlProvider\\UserProvider', $provider);
|
||||
|
||||
try
|
||||
@@ -22,16 +22,16 @@ class ControllerTest extends \PhraseanetPHPUnitAbstract
|
||||
}
|
||||
catch(\Exception $e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function testGetAvailable()
|
||||
{
|
||||
$available = \Alchemy\Phrasea\Vocabulary\Controller::getAvailable();
|
||||
|
||||
|
||||
$this->assertTrue(is_array($available));
|
||||
|
||||
|
||||
foreach($available as $controller)
|
||||
{
|
||||
$this->assertInstanceOf('\\Alchemy\\Phrasea\\Vocabulary\\ControlProvider\\ControlProviderInterface', $controller);
|
||||
|
Reference in New Issue
Block a user