From a8e30c3d513db74bfda2c412ff493235b5c70393 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Wed, 14 Aug 2024 14:17:14 +0200 Subject: [PATCH] cleanup --- .../HsHostingAssetRepositoryIntegrationTest.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/hosting/asset/HsHostingAssetRepositoryIntegrationTest.java b/src/test/java/net/hostsharing/hsadminng/hs/hosting/asset/HsHostingAssetRepositoryIntegrationTest.java index a2c96772..682610de 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/hosting/asset/HsHostingAssetRepositoryIntegrationTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/hosting/asset/HsHostingAssetRepositoryIntegrationTest.java @@ -6,7 +6,6 @@ import net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRepository; import net.hostsharing.hsadminng.hs.booking.item.HsBookingItemType; import net.hostsharing.hsadminng.hs.booking.project.HsBookingProjectRepository; import net.hostsharing.hsadminng.rbac.rbacgrant.RawRbacGrantRepository; -import net.hostsharing.hsadminng.rbac.rbacgrant.RbacGrantsDiagramService; import net.hostsharing.hsadminng.rbac.rbacrole.RawRbacRoleRepository; import net.hostsharing.hsadminng.mapper.Array; import net.hostsharing.hsadminng.rbac.test.ContextBasedTestWithCleanup; @@ -256,20 +255,9 @@ class HsHostingAssetRepositoryIntegrationTest extends ContextBasedTestWithCleanu public void managedServerAgent_canFindRelatedEmailAddresses() { // given context("superuser-alex@hostsharing.net"); - // FIXME: remove -// final var parentAssetUuid = assetRepo.findByIdentifier("vm1012").stream() -// .filter(ha -> ha.getType() == MANAGED_SERVER) -// .findAny().orElseThrow().getUuid(); // when -// context("superuser-alex@hostsharing.net", "hs_hosting_asset#vm1012:AGENT"); context("superuser-alex@hostsharing.net", "hs_hosting_asset#sec01:AGENT"); - // FIXME: cleanup -// context("superuser-alex@hostsharing.net", "hs_hosting_asset#sec.example.org|MBOX:AGENT"); -// context("superuser-alex@hostsharing.net", "hs_booking_project#D-1000212-D-1000212defaultproject:AGENT"); - - generateRbacDiagramForCurrentSubjects(RbacGrantsDiagramService.Include.ALL_NON_TEST_ENTITY_RELATED, "should-contain-email-addresses"); - final var result = assetRepo.findAllByCriteria(null, null, EMAIL_ADDRESS); // then