rename status to state

This commit is contained in:
Nicolas Le Goff
2012-05-03 20:32:07 +02:00
parent 49d926880d
commit a4ae7a6405

View File

@@ -20,7 +20,7 @@ class module_console_schedulerStateTest extends PHPUnit_Framework_TestCase
$task_manager = new task_manager(appbox::get_instance(\bootstrap::getCore()));
$state = $task_manager->get_scheduler_state();
$sentence = sprintf('Scheduler is %s', $state['status']);
$sentence = sprintf('Scheduler is %s', $state['state']);
$this->assertTrue(strpos($commandTester->getDisplay(), $sentence) !== false);
}