diff --git a/src/test/java/de/hmmh/pmt/project/GetAllEmployeesByProjectTest.java b/src/test/java/de/hmmh/pmt/project/GetAllEmployeesByProjectTest.java index 7083385..01a9406 100644 --- a/src/test/java/de/hmmh/pmt/project/GetAllEmployeesByProjectTest.java +++ b/src/test/java/de/hmmh/pmt/project/GetAllEmployeesByProjectTest.java @@ -1,7 +1,6 @@ package de.hmmh.pmt.project; import de.hmmh.pmt.IntegrationTest; -import de.hmmh.pmt.db.Allocation; import de.hmmh.pmt.db.Project; import org.junit.jupiter.api.Test; import org.springframework.http.MediaType; @@ -39,7 +38,7 @@ public class GetAllEmployeesByProjectTest extends IntegrationTest { @Test void shouldReturnListOfEmployeesWhenAllParametersAreValid() throws Exception { Map allProjects = createTestProjectData(); - Map allocations = createTestAllocationData(allProjects); + createTestAllocationData(allProjects); this.mvc .perform(getRequest(allProjects.get("ai-research").getId())) @@ -52,7 +51,7 @@ public class GetAllEmployeesByProjectTest extends IntegrationTest { .thenThrow(new RestClientException("Internal Server Error")); Map allProjects = createTestProjectData(); - Map allocations = createTestAllocationData(allProjects); + createTestAllocationData(allProjects); this.mvc .perform(getRequest(allProjects.get("ai-research").getId()))