diff options
author | Igor Wiedler <igor@wiedler.ch> | 2012-04-09 15:05:28 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-04-09 15:05:28 +0200 |
commit | 3ebe89cb7eff57c3ffdbe0b7dcd9cdc35b48d26b (patch) | |
tree | 9a5c38eb1f18d2d3219b3fa0a4cb4bd9fc854dd4 /tests/cron/tasks | |
parent | 0a5348a1376fafb487884086a70069bea8c5640b (diff) | |
download | forums-3ebe89cb7eff57c3ffdbe0b7dcd9cdc35b48d26b.tar forums-3ebe89cb7eff57c3ffdbe0b7dcd9cdc35b48d26b.tar.gz forums-3ebe89cb7eff57c3ffdbe0b7dcd9cdc35b48d26b.tar.bz2 forums-3ebe89cb7eff57c3ffdbe0b7dcd9cdc35b48d26b.tar.xz forums-3ebe89cb7eff57c3ffdbe0b7dcd9cdc35b48d26b.zip |
[feature/dic] Fix test suite for dic-powered cron
PHPBB3-10739
Diffstat (limited to 'tests/cron/tasks')
-rw-r--r-- | tests/cron/tasks/simple_not_runnable.php | 5 | ||||
-rw-r--r-- | tests/cron/tasks/simple_ready.php | 5 | ||||
-rw-r--r-- | tests/cron/tasks/simple_should_not_run.php | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/cron/tasks/simple_not_runnable.php b/tests/cron/tasks/simple_not_runnable.php index 837f28f1c0..56d484eacd 100644 --- a/tests/cron/tasks/simple_not_runnable.php +++ b/tests/cron/tasks/simple_not_runnable.php @@ -2,6 +2,11 @@ class phpbb_cron_task_core_simple_not_runnable extends phpbb_cron_task_base { + public function get_name() + { + return get_class($this); + } + public function run() { } diff --git a/tests/cron/tasks/simple_ready.php b/tests/cron/tasks/simple_ready.php index de5f10e491..8aa0507406 100644 --- a/tests/cron/tasks/simple_ready.php +++ b/tests/cron/tasks/simple_ready.php @@ -2,6 +2,11 @@ class phpbb_cron_task_core_simple_ready extends phpbb_cron_task_base { + public function get_name() + { + return get_class($this); + } + public function run() { } diff --git a/tests/cron/tasks/simple_should_not_run.php b/tests/cron/tasks/simple_should_not_run.php index c2a41616f6..58f6df2616 100644 --- a/tests/cron/tasks/simple_should_not_run.php +++ b/tests/cron/tasks/simple_should_not_run.php @@ -2,6 +2,11 @@ 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() { } |