From 24225862f225e08893187471dae932f22b36f7ba Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 1 Oct 2024 10:00:49 +0200 Subject: [PATCH] remove "example.org|DNS" from test --- .../booking/item/HsBookingItemControllerAcceptanceTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/booking/item/HsBookingItemControllerAcceptanceTest.java b/src/test/java/net/hostsharing/hsadminng/hs/booking/item/HsBookingItemControllerAcceptanceTest.java index e2a06655..f7d616aa 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/booking/item/HsBookingItemControllerAcceptanceTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/booking/item/HsBookingItemControllerAcceptanceTest.java @@ -253,9 +253,7 @@ class HsBookingItemControllerAcceptanceTest extends ContextBasedTestWithCleanup assertThat(domainSetupHostingAsset).isNotEmpty() .map(HsHostingAsset::getBookingItem) .contains(newBookingItem); - assertThat(realHostingAssetRepo.findByIdentifier("example.org|DNS")).isNotEmpty() - .map(HsHostingAsset::getParentAsset) - .isEqualTo(domainSetupHostingAsset); + // TODO.legacy: add check for example.org|DNS assertThat(realHostingAssetRepo.findByIdentifier("example.org|HTTP")).isNotEmpty() .map(HsHostingAsset::getParentAsset) .isEqualTo(domainSetupHostingAsset);