From e6c3705912bffed8699af7486abb178611d55e96 Mon Sep 17 00:00:00 2001 From: Bennet Gallein Date: Mon, 2 Sep 2024 08:13:09 +0200 Subject: [PATCH] fix(test/zone): fix test for automatically set canoncials --- tests/Resources/ZoneTest.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/Resources/ZoneTest.php b/tests/Resources/ZoneTest.php index 79c0cfc..888aef1 100644 --- a/tests/Resources/ZoneTest.php +++ b/tests/Resources/ZoneTest.php @@ -65,11 +65,10 @@ public function testSetApiResponseWithoutOptionalData(): void $this->assertNull($zone->getAccount()); } - public function testSetNameservers(): void - { + public function testSetNameserversCanoncial(): void { $zone = new Zone(); - $zone->setNameservers(['foo', 'bar']); - $this->assertSame(['foo', 'bar'], $zone->getNameservers()); + $zone->setNameservers(['ns1', 'ns2']); + $this->assertSame(['ns1.', 'ns2.'], $zone->getNameservers()); } public function testSetKind(): void