diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRepositoryIntegrationTest.java b/src/test/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRepositoryIntegrationTest.java index aec09e1d..eb92aad9 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRepositoryIntegrationTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/relation/HsOfficeRelationRepositoryIntegrationTest.java @@ -7,7 +7,6 @@ import net.hostsharing.hsadminng.lambda.Reducer; import net.hostsharing.hsadminng.mapper.Array; import net.hostsharing.hsadminng.rbac.grant.RawRbacGrantRepository; import net.hostsharing.hsadminng.rbac.role.RawRbacRoleRepository; -import net.hostsharing.hsadminng.rbac.role.RbacRoleRepository; import net.hostsharing.hsadminng.rbac.test.ContextBasedTestWithCleanup; import net.hostsharing.hsadminng.rbac.test.JpaAttempt; import org.junit.jupiter.api.Nested; @@ -62,12 +61,12 @@ class HsOfficeRelationRepositoryIntegrationTest extends ContextBasedTestWithClea @MockBean HttpServletRequest request; - @Autowired - private RbacRoleRepository rbacRoleRepository; - @Nested class AssumeRelationRole { + // TODO.test: these tests would be better placed in the rbac module, + // but for this we need an extra long object-idname in the rbac test data + @Test public void testHostsharingAdminCanAssumeRelationRoleWithLongIdName() { context(