Coding standards

This commit is contained in:
Romain Neutron
2012-01-26 16:26:00 +01:00
parent 3f3701b03d
commit 34f2e91fd4
10 changed files with 68 additions and 68 deletions

View File

@@ -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);