From 6c10c26287268ea86c8e49ee1a2c38701c3f8daa Mon Sep 17 00:00:00 2001 From: Mateusz Czeladka Date: Tue, 14 Nov 2023 09:37:51 +0100 Subject: [PATCH] fix: contract test fix --- .../cardano/foundation/voting/api/tests/LeaderboardTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend-services/voting-app/src/test/java/org/cardano/foundation/voting/api/tests/LeaderboardTests.java b/backend-services/voting-app/src/test/java/org/cardano/foundation/voting/api/tests/LeaderboardTests.java index e69bb1f07..5ba923fef 100644 --- a/backend-services/voting-app/src/test/java/org/cardano/foundation/voting/api/tests/LeaderboardTests.java +++ b/backend-services/voting-app/src/test/java/org/cardano/foundation/voting/api/tests/LeaderboardTests.java @@ -11,14 +11,13 @@ public class LeaderboardTests extends BaseTest { - // TODO: should return a 200 but a wrong path has been matched @Test public void testIsHighLevelEventLeaderBoardAvailable() { given() .when() .head(VotingAppEndpoints.LEADERBOARD_ENDPOINT + "/event/CF_TEST_EVENT_01") .then() - .statusCode(400); + .statusCode(200); } @Test