story/PMT-27-mitarbeiter-aus-einem-projekt #17
1 changed files with 7 additions and 0 deletions
|
@ -165,6 +165,13 @@ public abstract class IntegrationTest {
|
|||
allocation1ToOverlapA.setRole(TEST_QUALIFICATION_A_ID);
|
||||
allocations.put("1>overlap-a", allocation1ToOverlapA);
|
||||
|
||||
|
||||
Allocation allocation1ToSpaceStation = new Allocation();
|
||||
allocation1ToSpaceStation.setProject(allProjects.get("space-station"));
|
||||
allocation1ToSpaceStation.setEmployeeId(TEST_EMPLOYEE_A_ID);
|
||||
allocation1ToSpaceStation.setRole(TEST_QUALIFICATION_A_ID);
|
||||
allocations.put("1>space-station", allocation1ToSpaceStation);
|
||||
|
||||
allocationRepository.saveAllAndFlush(allocations.values());
|
||||
return allocations;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue