From 8f1bc675960325383cc92f80bafb62c2bde3387d Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 10 Apr 2024 14:41:26 +0100 Subject: [PATCH] fix tests --- src/test/java/cc/fascinated/tests/PlayerControllerTests.java | 1 + src/test/java/cc/fascinated/tests/ServerControllerTests.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/test/java/cc/fascinated/tests/PlayerControllerTests.java b/src/test/java/cc/fascinated/tests/PlayerControllerTests.java index 245aec7..2c46c10 100644 --- a/src/test/java/cc/fascinated/tests/PlayerControllerTests.java +++ b/src/test/java/cc/fascinated/tests/PlayerControllerTests.java @@ -7,6 +7,7 @@ import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMock import org.springframework.boot.test.context.SpringBootTest; import org.springframework.http.MediaType; import org.springframework.test.web.servlet.MockMvc; +import cc.fascinated.config.TestRedisConfig; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; diff --git a/src/test/java/cc/fascinated/tests/ServerControllerTests.java b/src/test/java/cc/fascinated/tests/ServerControllerTests.java index ad0f1ba..82eb90f 100644 --- a/src/test/java/cc/fascinated/tests/ServerControllerTests.java +++ b/src/test/java/cc/fascinated/tests/ServerControllerTests.java @@ -6,6 +6,7 @@ import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMock import org.springframework.boot.test.context.SpringBootTest; import org.springframework.http.MediaType; import org.springframework.test.web.servlet.MockMvc; +import cc.fascinated.config.TestRedisConfig; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;