mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 05:58:42 +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()
|
public function testCRUD()
|
||||||
{
|
{
|
||||||
|
self::assertTrue(Cron::guessBin());
|
||||||
|
|
||||||
if (\stristr(PHP_OS, 'LINUX')) {
|
if (\stristr(PHP_OS, 'LINUX')) {
|
||||||
Cron::guessBin();
|
|
||||||
$cron = new Cron();
|
$cron = new Cron();
|
||||||
|
|
||||||
self::assertEquals([], $cron->getAllByName('testCronJob', false));
|
self::assertEquals([], $cron->getAllByName('testCronJob', false));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user