Squashed 'libraries/action-scheduler/' content from commit a95f351
git-subtree-dir: libraries/action-scheduler git-subtree-split: a95f351058eada5e5281faa22e5a40865542e839
This commit is contained in:
15
tests/phpunit/jobs/ActionScheduler_NullAction_Test.php
Normal file
15
tests/phpunit/jobs/ActionScheduler_NullAction_Test.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class ActionScheduler_NullAction_Test
|
||||
* @group actions
|
||||
*/
|
||||
class ActionScheduler_NullAction_Test extends ActionScheduler_UnitTestCase {
|
||||
public function test_null_action() {
|
||||
$action = new ActionScheduler_NullAction();
|
||||
|
||||
$this->assertEmpty( $action->get_hook() );
|
||||
$this->assertEmpty( $action->get_args() );
|
||||
$this->assertNull( $action->get_schedule()->get_date() );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user