mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/13543] Fix broken slow test
PHPBB3-13543
This commit is contained in:
parent
c423038587
commit
b2674cf1f6
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue