aboutsummaryrefslogtreecommitdiffstats
path: root/tests/version/version_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-11-21 21:34:02 +0100
committerMarc Alexander <admin@m-a-styles.de>2014-11-21 21:37:43 +0100
commit352648f173e7b132544bf3eaa494184bec6d5aa2 (patch)
tree243a58afccaf667629201d7a909146d8fda22c36 /tests/version/version_test.php
parentf6e7a94bd55c1c3b7a8aaed370a728c58ac34ea6 (diff)
downloadforums-352648f173e7b132544bf3eaa494184bec6d5aa2.tar
forums-352648f173e7b132544bf3eaa494184bec6d5aa2.tar.gz
forums-352648f173e7b132544bf3eaa494184bec6d5aa2.tar.bz2
forums-352648f173e7b132544bf3eaa494184bec6d5aa2.tar.xz
forums-352648f173e7b132544bf3eaa494184bec6d5aa2.zip
[ticket/13358] Fix tests and use exceptions instead of user object
PHPBB3-13358
Diffstat (limited to 'tests/version/version_test.php')
-rw-r--r--tests/version/version_test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/version/version_test.php b/tests/version/version_test.php
index ba31c79a79..528f1602d6 100644
--- a/tests/version/version_test.php
+++ b/tests/version/version_test.php
@@ -30,6 +30,7 @@ class phpbb_version_helper_test extends phpbb_test_case
new \phpbb\config\config(array(
'version' => '3.1.0',
)),
+ new \phpbb\file_downloader(),
new \phpbb\user('\phpbb\datetime')
);
}
@@ -208,6 +209,7 @@ class phpbb_version_helper_test extends phpbb_test_case
new \phpbb\config\config(array(
'version' => $current_version,
)),
+ new \phpbb\file_downloader(),
new \phpbb\user('\phpbb\datetime'),
))
->getMock()
@@ -318,6 +320,7 @@ class phpbb_version_helper_test extends phpbb_test_case
new \phpbb\config\config(array(
'version' => $current_version,
)),
+ new \phpbb\file_downloader(),
new \phpbb\user('\phpbb\datetime'),
))
->getMock()