[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 02c59fdf43
commit 445a16be93
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -277,15 +277,6 @@ class version_helper_remote_test extends \phpbb_test_case
$hostname = 'version.phpbb.com'; $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'); $file = $file_downloader->get($hostname, '/phpbb', '30x.txt');
$errstr = $file_downloader->get_error_string(); $errstr = $file_downloader->get_error_string();
$errno = $file_downloader->get_error_number(); $errno = $file_downloader->get_error_number();