mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Fixup Service Instantiation and enforce application booting.
This commit is contained in:
@@ -14,6 +14,8 @@ class module_console_systemTemplateGeneratorTest extends \PhraseanetTestCase
|
||||
{
|
||||
$application = new CLI('test', null, 'test');
|
||||
$application->command(new module_console_systemTemplateGenerator('system:templateGenerator'));
|
||||
// Application should be booted before executing commands
|
||||
$application->boot();
|
||||
|
||||
$command = $application['console']->find('system:templateGenerator');
|
||||
$commandTester = new CommandTester($command);
|
||||
|
Reference in New Issue
Block a user