remove "example.org|DNS" from test

This commit is contained in:
Michael Hoennig 2024-10-01 10:00:49 +02:00
parent 4d1d4cb9e9
commit 24225862f2

View File

@ -253,9 +253,7 @@ class HsBookingItemControllerAcceptanceTest extends ContextBasedTestWithCleanup
assertThat(domainSetupHostingAsset).isNotEmpty() assertThat(domainSetupHostingAsset).isNotEmpty()
.map(HsHostingAsset::getBookingItem) .map(HsHostingAsset::getBookingItem)
.contains(newBookingItem); .contains(newBookingItem);
assertThat(realHostingAssetRepo.findByIdentifier("example.org|DNS")).isNotEmpty() // TODO.legacy: add check for example.org|DNS
.map(HsHostingAsset::getParentAsset)
.isEqualTo(domainSetupHostingAsset);
assertThat(realHostingAssetRepo.findByIdentifier("example.org|HTTP")).isNotEmpty() assertThat(realHostingAssetRepo.findByIdentifier("example.org|HTTP")).isNotEmpty()
.map(HsHostingAsset::getParentAsset) .map(HsHostingAsset::getParentAsset)
.isEqualTo(domainSetupHostingAsset); .isEqualTo(domainSetupHostingAsset);