diff --git a/server/src/test/java/it/LogIT.java b/server/src/test/java/it/LogIT.java index 375e3fd..eccca0d 100644 --- a/server/src/test/java/it/LogIT.java +++ b/server/src/test/java/it/LogIT.java @@ -46,7 +46,7 @@ class LogIT { @Test - void testGet() throws Exception { + void testGetNonExistingLog() throws Exception { HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest .newBuilder(new URI("http://localhost:8080/sphynx/job/test/log/1234")) @@ -54,9 +54,9 @@ void testGet() throws Exception { HttpResponse response = client.send(request, BodyHandlers.ofString()); assertEquals(404, response.statusCode()); } - + @Test - void testList() throws Exception { + void testListAvailableLogs() throws Exception { HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest .newBuilder(new URI("http://localhost:8080/sphynx/job/test/log"))