diff options
Diffstat (limited to 'tests/console/cron/tasks')
-rw-r--r-- | tests/console/cron/tasks/simple.php | 15 | ||||
-rw-r--r-- | tests/console/cron/tasks/simple_ready.php | 13 |
2 files changed, 15 insertions, 13 deletions
diff --git a/tests/console/cron/tasks/simple.php b/tests/console/cron/tasks/simple.php new file mode 100644 index 0000000000..be2a8a1d9d --- /dev/null +++ b/tests/console/cron/tasks/simple.php @@ -0,0 +1,15 @@ +<?php + +class phpbb_cron_task_simple extends \phpbb\cron\task\base +{ + public function get_name() + { + return get_class($this); + } + + public function run() + { + global $cron_num_exec; + $cron_num_exec++; + } +} diff --git a/tests/console/cron/tasks/simple_ready.php b/tests/console/cron/tasks/simple_ready.php deleted file mode 100644 index 245d9ba738..0000000000 --- a/tests/console/cron/tasks/simple_ready.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -class phpbb_cron_task_core_simple_ready extends \phpbb\cron\task\base -{ - public function get_name() - { - return get_class($this); - } - - public function run() - { - } -} |