Skip to content

Commit

Permalink
fix(test/zone): fix test for automatically set canoncials
Browse files Browse the repository at this point in the history
  • Loading branch information
bennetgallein committed Sep 2, 2024
1 parent 25269eb commit e6c3705
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/Resources/ZoneTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6c3705

Please sign in to comment.