From e6d3854fbdd0cc292041872789b7510cb69d3ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20K=C3=BCck?= Date: Wed, 23 Oct 2024 11:09:41 +0200 Subject: [PATCH] PMT-27-added TestData --- src/test/java/de/hmmh/pmt/IntegrationTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/java/de/hmmh/pmt/IntegrationTest.java b/src/test/java/de/hmmh/pmt/IntegrationTest.java index 91852a4..65e98f0 100644 --- a/src/test/java/de/hmmh/pmt/IntegrationTest.java +++ b/src/test/java/de/hmmh/pmt/IntegrationTest.java @@ -164,6 +164,13 @@ public abstract class IntegrationTest { allocation1ToOverlapA.setEmployeeId(TEST_EMPLOYEE_A_ID); 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;