story/PMT-27-mitarbeiter-aus-einem-projekt #17
1 changed files with 7 additions and 0 deletions
|
@ -164,6 +164,13 @@ public abstract class IntegrationTest {
|
||||||
allocation1ToOverlapA.setEmployeeId(TEST_EMPLOYEE_A_ID);
|
allocation1ToOverlapA.setEmployeeId(TEST_EMPLOYEE_A_ID);
|
||||||
allocation1ToOverlapA.setRole(TEST_QUALIFICATION_A_ID);
|
allocation1ToOverlapA.setRole(TEST_QUALIFICATION_A_ID);
|
||||||
allocations.put("1>overlap-a", allocation1ToOverlapA);
|
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());
|
allocationRepository.saveAllAndFlush(allocations.values());
|
||||||
return allocations;
|
return allocations;
|
||||||
|
|
Loading…
Reference in a new issue