Merge branch '2.5.x'

Closes gh-27758
This commit is contained in:
Andy Wilkinson
2021-08-18 18:28:34 +01:00
70 changed files with 194 additions and 122 deletions

View File

@@ -40,7 +40,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
*/
@SpringBootTest
@AutoConfigureTestDatabase
public class SpyBeanSampleDataJpaApplicationTests {
class SpyBeanSampleDataJpaApplicationTests {
@Autowired
private WebApplicationContext context;

View File

@@ -25,6 +25,6 @@ import org.springframework.test.context.TestPropertySource;
* @author Andy Wilkinson
*/
@TestPropertySource(properties = { "spring.jersey.type=filter", "server.servlet.register-default-servlet=true" })
public class JerseyFilterManagementPortTests extends AbstractJerseyManagementPortTests {
class JerseyFilterManagementPortTests extends AbstractJerseyManagementPortTests {
}

View File

@@ -22,6 +22,6 @@ package smoketest.jersey;
*
* @author Andy Wilkinson
*/
public class JerseyServletManagementPortTests extends AbstractJerseyManagementPortTests {
class JerseyServletManagementPortTests extends AbstractJerseyManagementPortTests {
}

View File

@@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.entry;
* @author Stephane Nicoll
*/
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
public class SampleQuartzApplicationWebTests {
class SampleQuartzApplicationWebTests {
@Autowired
private TestRestTemplate restTemplate;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ import org.springframework.security.rsocket.metadata.UsernamePasswordMetadata;
import org.springframework.util.MimeTypeUtils;
@SpringBootTest(properties = "spring.rsocket.server.port=0")
public class SampleRSocketApplicationTests {
class SampleRSocketApplicationTests {
@LocalRSocketServerPort
private int port;