remove precondition checks, now covered by checks in @BeforeEach and @AfterEach

This commit is contained in:
Michael Hoennig 2024-02-12 13:06:54 +01:00
parent f71b769cb9
commit 201a8d34af

View File

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