Polish access modifiers for test classes
See gh-27736
This commit is contained in:
@@ -42,7 +42,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
@SpringBootTest
|
||||
@ActiveProfiles({ "test1", "test2" })
|
||||
@ContextConfiguration(loader = SpringBootTestWithActiveProfilesAndEnvironmentPropertyTests.Loader.class)
|
||||
public class SpringBootTestWithActiveProfilesAndEnvironmentPropertyTests {
|
||||
class SpringBootTestWithActiveProfilesAndEnvironmentPropertyTests {
|
||||
|
||||
@Autowired
|
||||
private Environment environment;
|
||||
|
||||
@@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
@SpringBootTest
|
||||
@ActiveProfiles({ "test1", "test2" })
|
||||
@ContextConfiguration(loader = SpringBootTestWithActiveProfilesAndSystemEnvironmentPropertyTests.Loader.class)
|
||||
public class SpringBootTestWithActiveProfilesAndSystemEnvironmentPropertyTests {
|
||||
class SpringBootTestWithActiveProfilesAndSystemEnvironmentPropertyTests {
|
||||
|
||||
@Autowired
|
||||
private Environment environment;
|
||||
|
||||
@@ -33,7 +33,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
@ClassPathExclusions({ "reactor-netty*.jar", "jetty-client*.jar" })
|
||||
public class WebTestClientContextCustomizerWithoutSupportedHttpClientTests {
|
||||
class WebTestClientContextCustomizerWithoutSupportedHttpClientTests {
|
||||
|
||||
@Test
|
||||
void createContextCustomizerWhenNoSupportedHttpClientIsAvailableShouldReturnNull() {
|
||||
|
||||
@@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
@ClassPathExclusions("spring-webflux*.jar")
|
||||
public class WebTestClientContextCustomizerWithoutWebfluxIntegrationTests {
|
||||
class WebTestClientContextCustomizerWithoutWebfluxIntegrationTests {
|
||||
|
||||
@Test
|
||||
void customizerIsNotCreatedWithoutWebClient() {
|
||||
|
||||
Reference in New Issue
Block a user