PMT-27-added TestData
This commit is contained in:
parent
967946bee2
commit
e6d3854fbd
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