Compare commits

..

2 commits

Author SHA1 Message Date
bd8369c28c
NOTICKET: Edit Run Config for Intelij for Testing
Some checks failed
Quality Check / Validate OAS (push) Successful in 47s
Quality Check / Validate OAS (pull_request) Successful in 1m1s
Quality Check / Testing (push) Failing after 1m31s
Quality Check / Linting (push) Failing after 1m43s
Quality Check / Testing (pull_request) Failing after 1m34s
Quality Check / Linting (pull_request) Failing after 1m45s
Quality Check / Static Analysis (push) Failing after 1m51s
Quality Check / Static Analysis (pull_request) Failing after 1m46s
Signed-off-by: Dominik Säume <Dominik.Saeume@hmmh.de>
2024-10-09 10:57:41 +02:00
27ceb10a82
NOTICKET: Refactor Test Data
Some checks failed
Quality Check / Validate OAS (push) Successful in 31s
Quality Check / Testing (push) Failing after 50s
Quality Check / Linting (push) Failing after 56s
Quality Check / Static Analysis (push) Failing after 1m0s
Signed-off-by: Dominik Säume <Dominik.Saeume@hmmh.de>
2024-10-09 10:55:41 +02:00

View file

@ -5,7 +5,7 @@ import de.hmmh.pmt.IntegrationTest;
import de.hmmh.pmt.db.Project; import de.hmmh.pmt.db.Project;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import java.util.Map; import java.util.List;
import static org.hamcrest.Matchers.empty; import static org.hamcrest.Matchers.empty;
import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.hasSize;
@ -25,7 +25,7 @@ public class GetAllTest extends IntegrationTest {
@Test @Test
void multipleProjects() throws Exception { void multipleProjects() throws Exception {
Map<String, Project> allProjects = createTestProjectData(); List<Project> allProjects = createTestProjectData();
mvc mvc
.perform(get(baseUri + "/project")) .perform(get(baseUri + "/project"))