Refactor Appbox

This commit is contained in:
Romain Neutron
2012-02-21 16:19:38 +01:00
parent 7d41a36694
commit dc51dd295d
20 changed files with 57 additions and 57 deletions

View File

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