From d47394866e9baf62acf35e0acc0b7431b56d4348 Mon Sep 17 00:00:00 2001 From: molynx Date: Sun, 8 Oct 2023 23:16:54 +0200 Subject: [PATCH] updated RestE2ETest with missing url --- .../tfm/scheduly/controllers/MessageRestControllerE2ETest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/es/urjc/tfm/scheduly/controllers/MessageRestControllerE2ETest.java b/src/test/java/es/urjc/tfm/scheduly/controllers/MessageRestControllerE2ETest.java index ea12d79..2c7fa45 100644 --- a/src/test/java/es/urjc/tfm/scheduly/controllers/MessageRestControllerE2ETest.java +++ b/src/test/java/es/urjc/tfm/scheduly/controllers/MessageRestControllerE2ETest.java @@ -84,7 +84,7 @@ public void createMessagesAndFindAllTest() { .contentType(ContentType.JSON) .body(requestJson2) .when() - .post("/api/message/") + .post("/api/message/schedule") .then() .contentType(ContentType.JSON) .body("messageBody", equalTo("Random message body 2"))