1
0
Fork 0
mirror of synced 2024-06-25 17:50:38 +12:00

Updated tests

This commit is contained in:
Eldad Fux 2019-12-26 12:21:36 +02:00
parent efe703abda
commit 350321601d

View file

@ -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);
}
}