JAVA-22180 | fixed test with simple annotations. (#14225)

This commit is contained in:
Gaetano Piazzolla
2023-06-15 06:09:55 +02:00
committed by GitHub
parent 167d296c8c
commit 16894b7986
4 changed files with 10 additions and 4 deletions

View File

@@ -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";