mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix checkstyle
This commit is contained in:
parent
e571894903
commit
b350eaee8a
@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Madhura Bhave
|
||||
*/
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||
public class SampleSessionHazelcastApplicationTests {
|
||||
class SampleSessionHazelcastApplicationTests {
|
||||
|
||||
@Autowired
|
||||
private TestRestTemplate restTemplate;
|
||||
@ -52,7 +52,7 @@ public class SampleSessionHazelcastApplicationTests {
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
public void sessionsEndpointShouldReturnUserSession() {
|
||||
void sessionsEndpointShouldReturnUserSession() {
|
||||
URI uri = URI.create("http://localhost:" + this.port + "/");
|
||||
ResponseEntity<String> firstResponse = performRequest(this.restTemplate, uri, null);
|
||||
String cookie = firstResponse.getHeaders().getFirst("Set-Cookie");
|
||||
|
Loading…
Reference in New Issue
Block a user