mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-15 07:58:40 +00:00
Check correct cron/schedule path
This commit is contained in:
parent
9085fa7a7e
commit
94eb099fb9
|
|
@ -25,8 +25,9 @@ class CronTest extends \PHPUnit\Framework\TestCase
|
|||
|
||||
public function testCRUD()
|
||||
{
|
||||
self::assertTrue(Cron::guessBin());
|
||||
|
||||
if (\stristr(PHP_OS, 'LINUX')) {
|
||||
Cron::guessBin();
|
||||
$cron = new Cron();
|
||||
|
||||
self::assertEquals([], $cron->getAllByName('testCronJob', false));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user