Compare commits

..

6 commits

Author SHA1 Message Date
Rajbir Singh
b907501d8b PMT-4: Write Happy Path Test
All checks were successful
Quality Check / Validate OAS (push) Successful in 51s
Quality Check / Validate OAS (pull_request) Successful in 1m4s
Quality Check / Linting (push) Successful in 2m6s
Quality Check / Linting (pull_request) Successful in 2m10s
Quality Check / Testing (push) Successful in 2m20s
Quality Check / Static Analysis (push) Successful in 2m24s
Quality Check / Testing (pull_request) Successful in 2m16s
Quality Check / Static Analysis (pull_request) Successful in 2m20s
2024-10-21 13:09:31 +02:00
Rajbir Singh
96cb218e5c PMT-4: Implement Endpoint
Co-authored-by: Ole Kück <ole.kueck@hmmh.de>
2024-10-21 13:08:08 +02:00
Rajbir Singh
7e1ae9ed2c PMT-4: Implement Repository 2024-10-21 13:06:38 +02:00
81230367b5
PMT-4: Add Database Model for Allocations 2024-10-21 13:04:53 +02:00
Rajbir Singh
675e9a3449 PMT-4: Define Endpoint 2024-10-21 13:03:39 +02:00
a03a608d36
FIX Workflow badge
All checks were successful
Quality Check / Validate OAS (push) Successful in 33s
Quality Check / Linting (push) Successful in 1m8s
Quality Check / Testing (push) Successful in 1m14s
Quality Check / Static Analysis (push) Successful in 1m16s
2024-10-21 05:50:04 +00:00
2 changed files with 1 additions and 8 deletions

View file

@ -1,4 +1,4 @@
![QS Badge](https://git.euph.dev//SZUT/ProjectManagmentTool//actions/workflows/qs.yml/badge.svg) ![QS Badge](https://git.euph.dev//SZUT/ProjectManagmentTool//actions/workflows/qs.yml/badge.svg?branch=trunk)
# ProjectManagmentTool # ProjectManagmentTool
Schulprojekt zum Erstellen eines Projektverwaltungstools Schulprojekt zum Erstellen eines Projektverwaltungstools

View file

@ -6,21 +6,14 @@ import de.hmmh.pmt.dtos.AddEmployeeDTO;
import de.hmmh.pmt.employee.dtos.EmployeeResponseDTO; import de.hmmh.pmt.employee.dtos.EmployeeResponseDTO;
import de.hmmh.pmt.employee.dtos.QualificationGetDTO; import de.hmmh.pmt.employee.dtos.QualificationGetDTO;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.test.web.servlet.RequestBuilder; import org.springframework.test.web.servlet.RequestBuilder;
import org.springframework.test.web.servlet.request.MockHttpServletRequestBuilder;
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
import org.springframework.web.client.HttpClientErrorException;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import static com.github.dockerjava.zerodep.shaded.org.apache.hc.core5.http.io.support.ClassicRequestBuilder.post;
import static org.mockito.ArgumentMatchers.anyLong; import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;