mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-13 23:28:39 +00:00
fix tests
This commit is contained in:
parent
173c501b54
commit
e8fbb0bc2c
|
|
@ -38,6 +38,15 @@ final class CronTest extends \PHPUnit\Framework\TestCase
|
|||
'No scheduler available'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
$cron = new Cron();
|
||||
$cron->getAll();
|
||||
} catch (\Throwable $_) {
|
||||
$this->markTestSkipped(
|
||||
'No scheduler available'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// * * * * * echo "test" > __DIR__ . '/cronjob.log' // evaluate dir
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user