From 3c80f0a4b1f8ba9b960922372f1d546d7a7e8502 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Fri, 23 Jun 2017 18:26:42 +0200 Subject: [PATCH] Remove bogus assertion for TTL --- test/IntegrationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/IntegrationTest.php b/test/IntegrationTest.php index bbe18c6..623f740 100644 --- a/test/IntegrationTest.php +++ b/test/IntegrationTest.php @@ -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()); }); }