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

Remove bogus assertion for TTL

This commit is contained in:
Niklas Keller 2017-06-23 18:26:42 +02:00
parent 23e24b76c6
commit 3c80f0a4b1

View File

@ -20,7 +20,6 @@ class IntegrationTest extends TestCase {
/** @var Record $record */
$record = $result[0];
$inAddr = @\inet_pton($record->getValue());
$this->assertNotNull($record->getTtl());
$this->assertNotFalse(
$inAddr,
"Server name $hostname did not resolve to a valid IP address"
@ -35,6 +34,7 @@ class IntegrationTest extends TestCase {
/** @var Record $record */
$record = $result[0];
$this->assertSame("google-public-dns-b.google.com", $record->getValue());
$this->assertNotNull($record->getTtl());
$this->assertSame(Record::PTR, $record->getType());
});
}