mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-09-02 07:15:24 +00:00
@@ -178,12 +178,12 @@ class ZoneServiceIntegrationSpec
|
|||||||
|
|
||||||
"Generate Zone" should {
|
"Generate Zone" should {
|
||||||
"return a zone with appropriate response" in {
|
"return a zone with appropriate response" in {
|
||||||
val result =
|
val result =
|
||||||
testZoneService
|
testZoneService
|
||||||
.getGenerateZoneByName("test-zone", okAuth)
|
.getGenerateZoneByName(okZone.name, okAuth)
|
||||||
.value
|
.value
|
||||||
.unsafeRunSync()
|
.unsafeRunSync()
|
||||||
result shouldBe Left(ZoneNotFoundError("Zone with name test-zone. does not exists"))
|
result shouldBe Left(ZoneNotFoundError(s"Zone with name ${okZone.name} does not exists"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user