private function RulesUnitTest::getIntervals in Ultimate Cron 8.2
3 calls to RulesUnitTest::getIntervals()
- RulesUnitTest::testIntervals2MinuteRange in tests/
src/ Unit/ RulesUnitTest.php - RulesUnitTest::testIntervals2MinuteRangeWithOffset in tests/
src/ Unit/ RulesUnitTest.php - RulesUnitTest::testIntervalsSpecificMinute in tests/
src/ Unit/ RulesUnitTest.php
File
- tests/
src/ Unit/ RulesUnitTest.php, line 16
Class
Namespace
Drupal\Tests\ultimate_cron\UnitCode
private function getIntervals($rule) {
$cron = CronRule::factory($rule, $_SERVER['REQUEST_TIME']);
return $cron
->getIntervals();
}