JAVA-22180 | fixed test with simple annotations. (#14225)
This commit is contained in:
committed by
GitHub
parent
167d296c8c
commit
16894b7986
@@ -8,6 +8,7 @@ import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.DisplayName;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.http.HttpHeaders;
|
||||
import org.springframework.test.web.reactive.server.WebTestClient;
|
||||
@@ -19,6 +20,7 @@ import java.util.stream.Collectors;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = RedisTestConfiguration.class)
|
||||
@AutoConfigureMockMvc
|
||||
class SpringBootRedisApplicationIntegrationTest {
|
||||
|
||||
private static final String V1_SESSIONS_ENDPOINT = "/v1/sessions";
|
||||
|
||||
Reference in New Issue
Block a user