mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 14:48:28 +01:00
[ticket/13543] Fix broken slow test
PHPBB3-13543
This commit is contained in:
parent
c423038587
commit
b2674cf1f6
@ -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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user