Beispiel #1
0
 public function testHours()
 {
     $this->assertInstanceOf($this->schedulerClass, $this->scheduler->hours(3));
     $this->assertEquals($this->scheduler->getSchedule(), Scheduler::ANY . ' ' . Scheduler::NONE . ' ' . Scheduler::ANY . ' ' . Scheduler::ANY . ' 3 ' . Scheduler::ANY);
     $array = [3, 4, 5];
     $this->scheduler->hours($array);
     $this->assertEquals(implode(',', $array), $this->scheduler->getScheduleHour());
 }