Commit f4576e6f authored by Roman Ondráček's avatar Roman Ondráček

Tests: fix scheduler tests

Signed-off-by: Roman Ondráček's avatarRoman Ondráček <ondracek.roman@centrum.cz>
parent dd337852
Pipeline #2384 passed with stages
in 16 minutes and 6 seconds
......@@ -207,7 +207,8 @@ class SchedulerManagerTest extends TestCase {
$this->timeManager = new TaskTimeManager();
$this->serviceManager = Mockery::mock(ServiceManager::class);
$schedulerSchemaManager = Mockery::mock(SchedulerSchemaManager::class);
$schedulerSchemaManager->shouldReceive('validate');
$schedulerSchemaManager->shouldReceive('validate')
->andReturnTrue();
$this->manager = new SchedulerManager($mainConfigManager, $genericConfigManager, $this->timeManager, $this->serviceManager, $commandManager, $schedulerSchemaManager);
$this->managerTemp = new SchedulerManager($mainConfigManagerTemp, $genericConfigManager, $this->timeManager, $this->serviceManager, $commandManager, $schedulerSchemaManager);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment