diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-01-24 21:53:20 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-01-24 21:53:20 +0100 |
commit | 2e32fbd090e3da70e8224c7a0e8538788d558b51 (patch) | |
tree | ec87ac8ed90b3e33da2c8d74934a990ed444ba16 /tests/functions | |
parent | e2786c37dc1ef5c0e032e09bb6b7a18210eebfca (diff) | |
parent | a2fbde44c0277b793477392ad403bcbcea080934 (diff) | |
download | forums-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.php | 4 |
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')) |