1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 16:22:22 +02:00

[ticket/12479] Remove dns check from test as we don't test against host anymore

PHPBB-12479
This commit is contained in:
Marc Alexander 2024-07-23 21:05:54 +02:00
parent f7d16fc626
commit d844f82f56
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -276,15 +276,6 @@ class version_helper_remote_test extends \phpbb_test_case
$hostname = 'version.phpbb.com';
if (!checkdnsrr($hostname, 'A'))
{
$this->markTestSkipped(sprintf(
'Could not find a DNS record for hostname %s. ' .
'Assuming network is down.',
$hostname
));
}
$file = $file_downloader->get($hostname, '/phpbb', '30x.txt');
$errstr = $file_downloader->get_error_string();
$errno = $file_downloader->get_error_number();