aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console/cron
diff options
context:
space:
mode:
Diffstat (limited to 'tests/console/cron')
-rw-r--r--tests/console/cron/run_all_test.php10
-rw-r--r--tests/console/cron/tasks/simple.php18
2 files changed, 19 insertions, 9 deletions
diff --git a/tests/console/cron/run_all_test.php b/tests/console/cron/run_all_test.php
index 5306d27094..716ad50d81 100644
--- a/tests/console/cron/run_all_test.php
+++ b/tests/console/cron/run_all_test.php
@@ -1,9 +1,13 @@
<?php
/**
*
-* @package testing
-* @copyright (c) 2014 phpBB Group
-* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
*
*/
diff --git a/tests/console/cron/tasks/simple.php b/tests/console/cron/tasks/simple.php
index b1fd41f34e..c814c29bde 100644
--- a/tests/console/cron/tasks/simple.php
+++ b/tests/console/cron/tasks/simple.php
@@ -1,13 +1,19 @@
<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
class phpbb_cron_task_simple extends \phpbb\cron\task\base
{
- public $executed;
-
- public function __construct()
- {
- $this->executed = false;
- }
+ public $executed = false;
public function get_name()
{