diff --git a/src/tests/Feature/PowerDNS/DomainTest.php b/src/tests/Feature/PowerDNS/DomainTest.php index a4663d30..28e0d9d5 100644 --- a/src/tests/Feature/PowerDNS/DomainTest.php +++ b/src/tests/Feature/PowerDNS/DomainTest.php @@ -1,48 +1,47 @@ domain = Domain::firstOrCreate(['name' => 'test-domain.com']); } /** * {@inheritDoc} */ public function tearDown(): void { $this->domain->delete(); parent::tearDown(); } /** * Test domain record creation (observer) */ public function testDomainCreate(): void { $this->assertCount(1, $this->domain->records()->where('type', 'SOA')->get()); $this->assertCount(2, $this->domain->records()->where('type', 'NS')->get()); - $this->assertCount(2, $this->domain->records()->where('type', 'A')->get()); - $this->assertCount(5, $this->domain->records()->get()); + $this->assertCount(3, $this->domain->records()->get()); $this->assertCount(1, $this->domain->settings()->get()); // TODO: Test content of every domain record/setting } }