diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-08-10 13:40:27 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-08-10 13:43:04 +0200 |
commit | 8d99b4afe1557a6ec0e760c4876bb06a3b9991d3 (patch) | |
tree | caea0dc9618acd71add637ac8ed0fd83100fa5be /tests/console/cron/run_test.php | |
parent | a57a96cbddbfdad65823aeca2901f26b62c9b12d (diff) | |
download | forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.tar forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.tar.gz forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.tar.bz2 forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.tar.xz forums-8d99b4afe1557a6ec0e760c4876bb06a3b9991d3.zip |
[ticket/12932] Fix tests and calls to create_datetime
PHPBB3-12932
Diffstat (limited to 'tests/console/cron/run_test.php')
-rw-r--r-- | tests/console/cron/run_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/console/cron/run_test.php b/tests/console/cron/run_test.php index 60bd74e1f0..029dc5249b 100644 --- a/tests/console/cron/run_test.php +++ b/tests/console/cron/run_test.php @@ -41,7 +41,7 @@ class phpbb_console_command_cron_run_test extends phpbb_database_test_case set_config(null, null, null, $this->config); $this->lock = new \phpbb\lock\db('cron_lock', $this->config, $this->db); - $this->user = $this->getMock('\phpbb\user'); + $this->user = $this->getMock('\phpbb\user', array(), array('\phpbb\datetime')); $this->user->method('lang')->will($this->returnArgument(0)); $this->task = new phpbb_cron_task_simple(); |