Fix unit tests errors

This commit is contained in:
Romain Neutron
2012-05-03 22:58:59 +02:00
parent a5c558bde1
commit adee030454
3 changed files with 29 additions and 24 deletions

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['state']);
$sentence = sprintf('Scheduler is %s', $state['status']);
$this->assertTrue(strpos($commandTester->getDisplay(), $sentence) !== false);
}