From 350321601da2580ed1935b98f149bac19729a832 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 26 Dec 2019 12:21:36 +0200 Subject: [PATCH] Updated tests --- tests/unit/Task/Validator/CronTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/Task/Validator/CronTest.php b/tests/unit/Task/Validator/CronTest.php index b55e076f3..eed1f9d01 100644 --- a/tests/unit/Task/Validator/CronTest.php +++ b/tests/unit/Task/Validator/CronTest.php @@ -33,5 +33,8 @@ class CronTest extends TestCase // $this->assertEquals($this->object->isValid('0 2 * * sun'), true); // execute on first sunday of every month $this->assertEquals($this->object->isValid('0 */4 * * *'), true); // execute on every four hours // $this->assertEquals($this->object->isValid('0 4,17 * * sun,mon'), true); // execute twice on every Sunday and Monday + $this->assertEquals($this->object->isValid('bad expression'), false); + $this->assertEquals(null, false); + $this->assertEquals('', false); } } \ No newline at end of file