diff options
Diffstat (limited to 'tests/console/cron/tasks')
| -rw-r--r-- | tests/console/cron/tasks/simple_not_runnable.php | 18 | ||||
| -rw-r--r-- | tests/console/cron/tasks/simple_ready.php | 7 | ||||
| -rw-r--r-- | tests/console/cron/tasks/simple_should_not_run.php | 18 |
3 files changed, 1 insertions, 42 deletions
diff --git a/tests/console/cron/tasks/simple_not_runnable.php b/tests/console/cron/tasks/simple_not_runnable.php deleted file mode 100644 index 4951b5b4b9..0000000000 --- a/tests/console/cron/tasks/simple_not_runnable.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -class phpbb_cron_task_core_simple_not_runnable extends \phpbb\cron\task\base -{ - public function get_name() - { - return get_class($this); - } - - public function run() - { - } - - public function is_runnable() - { - return false; - } -} diff --git a/tests/console/cron/tasks/simple_ready.php b/tests/console/cron/tasks/simple_ready.php index 245d9ba738..47970e104f 100644 --- a/tests/console/cron/tasks/simple_ready.php +++ b/tests/console/cron/tasks/simple_ready.php @@ -1,12 +1,7 @@ <?php -class phpbb_cron_task_core_simple_ready extends \phpbb\cron\task\base +class phpbb_cron_task_simple_ready extends \phpbb\cron\task\base { - public function get_name() - { - return get_class($this); - } - public function run() { } diff --git a/tests/console/cron/tasks/simple_should_not_run.php b/tests/console/cron/tasks/simple_should_not_run.php deleted file mode 100644 index 7bd9df31b6..0000000000 --- a/tests/console/cron/tasks/simple_should_not_run.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -class phpbb_cron_task_core_simple_should_not_run extends \phpbb\cron\task\base -{ - public function get_name() - { - return get_class($this); - } - - public function run() - { - } - - public function should_run() - { - return false; - } -} |
