Ejemplo n.º 1
0
 /**
  * @group Core
  * @group ScheduledTask
  */
 public function testGetScheduledTime()
 {
     $scheduledTask = new Piwik_ScheduledTask(null, null, new Piwik_ScheduledTime_Hourly());
     $scheduledTime = $scheduledTask->getScheduledTime();
     $this->assertInstanceOf("Piwik_ScheduledTime_Hourly", $scheduledTime);
 }
Ejemplo n.º 2
0
 public function test_getScheduledTime()
 {
     $scheduledTask = new Piwik_ScheduledTask(null, null, new Piwik_ScheduledTime_Hourly());
     $scheduledTime = $scheduledTask->getScheduledTime();
     $this->assertTrue(get_class($scheduledTime) == "Piwik_ScheduledTime_Hourly");
 }