mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +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()
|
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';
|
$hostname = 'version.phpbb.com';
|
||||||
|
|
||||||
if (!phpbb_checkdnsrr($hostname, 'A'))
|
if (!phpbb_checkdnsrr($hostname, 'A'))
|
||||||
|
|
Loading…
Add table
Reference in a new issue