mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
Refactor Appbox
This commit is contained in:
@@ -21,7 +21,7 @@ class module_console_schedulerStateTest extends PHPUnit_Framework_TestCase
|
||||
$commandTester = new CommandTester($command);
|
||||
$commandTester->execute(array('command' => $command->getName()));
|
||||
|
||||
$task_manager = new task_manager(appbox::get_instance());
|
||||
$task_manager = new task_manager(appbox::get_instance(\bootstrap::getCore()));
|
||||
$state = $task_manager->get_scheduler_state();
|
||||
|
||||
$sentence = sprintf('Scheduler is %s', $state['schedstatus']);
|
||||
|
Reference in New Issue
Block a user