Skip to content
Snippets Groups Projects
Commit cdf7e820 authored by Lukas Malte Monnerjahn's avatar Lukas Malte Monnerjahn
Browse files

OZG-6897 clean up test

parent 55f65003
Branches
Tags
No related merge requests found
......@@ -591,7 +591,7 @@ class UserRepositoryITCase {
.clearOrganisationsEinheitIds()
.organisationsEinheitId(ORGANISATIONSEINHEIT_ID_2)
.build();
private final User user4 = UserTestFactory.createBuilder()
private final User deletedUser = UserTestFactory.createBuilder()
.id(null)
.clearOrganisationsEinheitIds()
.organisationsEinheitId(ORGANISATIONSEINHEIT_ID_1)
......@@ -601,10 +601,7 @@ class UserRepositoryITCase {
@BeforeEach
void init() {
repository.deleteAll();
repository.persist(user1);
repository.persist(user2);
repository.persist(user3);
repository.persist(user4);
repository.persist(user1, user2, user3, deletedUser);
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment