mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Declare tests controllers as services, remove "call" methods
This commit is contained in:
@@ -22,9 +22,10 @@ use Silex\ControllerProviderInterface;
|
||||
*/
|
||||
class PathFileTest implements ControllerProviderInterface
|
||||
{
|
||||
|
||||
public function connect(Application $app)
|
||||
{
|
||||
$app['controller.utils.pathfile-test'] = $this;
|
||||
|
||||
$controllers = $app['controllers_factory'];
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user