From b57c10b6ca2029fb0396717014f6e6157b35c6ec Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 20 Apr 2024 21:39:05 +0200 Subject: [PATCH] Fixed order --- app/src/test/java/krusty/KrustyTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/test/java/krusty/KrustyTests.java b/app/src/test/java/krusty/KrustyTests.java index fd1184b..36e14b8 100644 --- a/app/src/test/java/krusty/KrustyTests.java +++ b/app/src/test/java/krusty/KrustyTests.java @@ -13,13 +13,14 @@ import org.json.JSONException; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; - +import org.junit.jupiter.api.TestMethodOrder; import org.skyscreamer.jsonassert.JSONAssert; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.exceptions.UnirestException; +@TestMethodOrder(org.junit.jupiter.api.MethodOrderer.DisplayName.class) public class KrustyTests { public static final String BASE_URL = "http://localhost:" + ServerMain.PORT + ServerMain.API_ENTRYPOINT + "/";