aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cron/ext/testext
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/ext/testext
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/ext/testext')
-rw-r--r--tests/cron/ext/testext/cron/dummy_task.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cron/ext/testext/cron/dummy_task.php b/tests/cron/ext/testext/cron/dummy_task.php
index 996f5b39cf..a31806c1b1 100644
--- a/tests/cron/ext/testext/cron/dummy_task.php
+++ b/tests/cron/ext/testext/cron/dummy_task.php
@@ -11,6 +11,11 @@ class phpbb_ext_testext_cron_dummy_task extends phpbb_cron_task_base
{
public static $was_run = 0;
+ public function get_name()
+ {
+ return get_class($this);
+ }
+
public function run()
{
self::$was_run++;