1
0
mirror of https://github.com/danog/dns.git synced 2024-11-26 20:14:51 +01:00

Update test/IntegrationTest.php

This commit is contained in:
Niklas Keller 2023-01-21 16:57:29 +01:00 committed by GitHub
parent de24dceab5
commit 49d6002687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ class IntegrationTest extends AsyncTestCase
foreach ($records as $record) { foreach ($records as $record) {
self::assertSame(DnsRecord::A, $record->getType()); self::assertSame(DnsRecord::A, $record->getType());
$inAddr = @\inet_pton($record->getValue()); $inAddr = \inet_pton($record->getValue());
self::assertNotFalse( self::assertNotFalse(
$inAddr, $inAddr,
"Server name google.com did not resolve to a valid IP address" "Server name google.com did not resolve to a valid IP address"