aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-01-24 21:53:20 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-01-24 21:53:20 +0100
commit2e32fbd090e3da70e8224c7a0e8538788d558b51 (patch)
treeec87ac8ed90b3e33da2c8d74934a990ed444ba16 /tests/functions
parente2786c37dc1ef5c0e032e09bb6b7a18210eebfca (diff)
parenta2fbde44c0277b793477392ad403bcbcea080934 (diff)
downloadforums-2e32fbd090e3da70e8224c7a0e8538788d558b51.tar
forums-2e32fbd090e3da70e8224c7a0e8538788d558b51.tar.gz
forums-2e32fbd090e3da70e8224c7a0e8538788d558b51.tar.bz2
forums-2e32fbd090e3da70e8224c7a0e8538788d558b51.tar.xz
forums-2e32fbd090e3da70e8224c7a0e8538788d558b51.zip
Merge branch 'develop-ascraeus' into develop
Diffstat (limited to 'tests/functions')
-rw-r--r--tests/functions/get_remote_file_test.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functions/get_remote_file_test.php b/tests/functions/get_remote_file_test.php
index 8e9ad1105a..781a73a462 100644
--- a/tests/functions/get_remote_file_test.php
+++ b/tests/functions/get_remote_file_test.php
@@ -21,6 +21,10 @@ class phpbb_functions_get_remote_file extends phpbb_test_case
{
public function test_version_phpbb_com()
{
+ global $phpbb_container;
+ $phpbb_container = new phpbb_mock_container_builder();
+ $phpbb_container->set('file_downloader', new \phpbb\file_downloader());
+
$hostname = 'version.phpbb.com';
if (!phpbb_checkdnsrr($hostname, 'A'))