cleanup and TODO added

This commit is contained in:
Michael Hoennig 2024-12-30 09:21:38 +01:00
parent 4457c5aa5a
commit 6ee3a465c6

View File

@ -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(