aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cron/tasks
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-04-09 15:05:28 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-04-09 15:05:28 +0200
commit3ebe89cb7eff57c3ffdbe0b7dcd9cdc35b48d26b (patch)
tree9a5c38eb1f18d2d3219b3fa0a4cb4bd9fc854dd4 /tests/cron/tasks
parent0a5348a1376fafb487884086a70069bea8c5640b (diff)
downloadforums-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.php5
-rw-r--r--tests/cron/tasks/simple_ready.php5
-rw-r--r--tests/cron/tasks/simple_should_not_run.php5
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()
{
}