Exemplo n.º 1
0
 public function testResetTimeLimit()
 {
     $this->object->setTimeLimits('-1 min', '-1 min');
     $o = $this->object->getOptions();
     $this->assertArrayHasKey('SubmittedFromDate', $o);
     $this->assertArrayHasKey('SubmittedToDate', $o);
     $this->object->resetTimeLimits();
     $check = $this->object->getOptions();
     $this->assertArrayNotHasKey('SubmittedFromDate', $check);
     $this->assertArrayNotHasKey('SubmittedToDate', $check);
 }