From ce469cbae359d06f5e48ef6baa34e62084c20cfb Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Aug 2018 15:25:17 +0200 Subject: [PATCH] Disable test for travis --- tests/Utils/TaskSchedule/CronTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Utils/TaskSchedule/CronTest.php b/tests/Utils/TaskSchedule/CronTest.php index cd670efbd..0712511af 100644 --- a/tests/Utils/TaskSchedule/CronTest.php +++ b/tests/Utils/TaskSchedule/CronTest.php @@ -25,7 +25,7 @@ class CronTest extends \PHPUnit\Framework\TestCase public function testCRUD() { - if (\stristr(PHP_OS, 'LINUX')) { + if (\stripos(PHP_OS, 'LINUX') !== false && \stripos(__DIR__, '/travis/') === false) { self::assertTrue(Cron::guessBin()); $cron = new Cron();