diff options
author | LEZY Thomas <thomas.gif.91@gmail.com> | 2014-05-28 10:13:37 +0200 |
---|---|---|
committer | LEZY Thomas <thomas.gif.91@gmail.com> | 2014-05-28 11:12:50 +0200 |
commit | 6f3276653fd622f29e6a906600f6c44c066566f8 (patch) | |
tree | f3127587b8c442eded22f9c983797673d288a92e /tests/console/cron/tasks/simple.php | |
parent | abb8a2892d862c097285ee7f300d12c32428e12c (diff) | |
download | forums-6f3276653fd622f29e6a906600f6c44c066566f8.tar forums-6f3276653fd622f29e6a906600f6c44c066566f8.tar.gz forums-6f3276653fd622f29e6a906600f6c44c066566f8.tar.bz2 forums-6f3276653fd622f29e6a906600f6c44c066566f8.tar.xz forums-6f3276653fd622f29e6a906600f6c44c066566f8.zip |
[ticket/12597] Improvement of test files
PHPBB3-12597
Diffstat (limited to 'tests/console/cron/tasks/simple.php')
-rw-r--r-- | tests/console/cron/tasks/simple.php | 15 |
1 files changed, 15 insertions, 0 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++; + } +} |