From 201a8d34af2498e1fadf93b0f9f2765a500e080d Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Mon, 12 Feb 2024 13:06:54 +0100 Subject: [PATCH] remove precondition checks, now covered by checks in @BeforeEach and @AfterEach --- .../HsOfficeRelationshipRepositoryIntegrationTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/relationship/HsOfficeRelationshipRepositoryIntegrationTest.java b/src/test/java/net/hostsharing/hsadminng/hs/office/relationship/HsOfficeRelationshipRepositoryIntegrationTest.java index c75117ab..07ea3e70 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/relationship/HsOfficeRelationshipRepositoryIntegrationTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/relationship/HsOfficeRelationshipRepositoryIntegrationTest.java @@ -383,10 +383,6 @@ class HsOfficeRelationshipRepositoryIntegrationTest extends ContextBasedTestWith final var initialGrantNames = Array.from(distinctGrantDisplaysOf(rawGrantRepo.findAll())); final var givenRelationship = givenSomeTemporaryRelationshipBessler( "Anita", "twelfth"); -// assertThat(distinctRoleNamesOf(rawRoleRepo.findAll()).size()).as("unexpected number of roles created") -// .isEqualTo(initialRoleNames.length + 3); -// assertThat(distinctGrantDisplaysOf(rawGrantRepo.findAll()).size()).as("unexpected number of grants created") -// .isEqualTo(initialGrantNames.length + 13); // when final var result = jpaAttempt.transacted(() -> {