Skip to content

Commit 1685d81

Browse files
authored
Fix test (#85)
1 parent 066a7be commit 1685d81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/document-service/src/test/java/de/tum/team_sigma/document_service/controller/DocumentControllerHealthTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class DocumentControllerHealthTest {
2323
private DocumentService documentService;
2424

2525
@Test
26-
@DisplayName("GET /api/documents/ returns health string")
26+
@DisplayName("GET /api/documents/health returns health string")
2727
void healthEndpointShouldReturnRunningString() throws Exception {
28-
mockMvc.perform(get("/api/documents/"))
28+
mockMvc.perform(get("/api/documents/health"))
2929
.andExpect(status().isOk())
3030
.andExpect(content().string("Document Service is running!"));
3131
}

0 commit comments

Comments
 (0)