*/
public function getTimestampReturnsInteger() {
$instance = new tx_scheduler_CronCmd('* * * * *');
- $this->assertType('integer', $instance->getTimestamp());
+ $this->assertInternalType(PHPUnit_Framework_Constraint_IsType::TYPE_INT, $instance->getTimestamp());
}
/**
*/
public function getCronCommandSectionsReturnsArray() {
$instance = new tx_scheduler_CronCmd('* * * * *');
- $this->assertType('array', $instance->getCronCommandSections());
+ $this->assertInternalType(PHPUnit_Framework_Constraint_IsType::TYPE_ARRAY, $instance->getCronCommandSections());
}
}
?>
\ No newline at end of file