Polish away public modifier on tests
This commit is contained in:
@@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*/
|
||||
@SpringBootTest
|
||||
@Testcontainers(disabledWithoutDocker = true)
|
||||
public class Neo4jReactiveHealthIndicatorIntegrationTests {
|
||||
class Neo4jReactiveHealthIndicatorIntegrationTests {
|
||||
|
||||
// gh-33428
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ import static org.mockito.Mockito.mock;
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public class ElasticsearchClientAutoConfigurationTests {
|
||||
class ElasticsearchClientAutoConfigurationTests {
|
||||
|
||||
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
|
||||
.withConfiguration(AutoConfigurations.of(ElasticsearchClientAutoConfiguration.class));
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.graphql.test.tester.GraphQlTester;
|
||||
* @author Brian Clozel
|
||||
*/
|
||||
@GraphQlTest(BookController.class)
|
||||
public class GraphQlTestIntegrationTest {
|
||||
class GraphQlTestIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private GraphQlTester graphQlTester;
|
||||
|
||||
@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*
|
||||
* @author Jonatan Ivanov
|
||||
*/
|
||||
public class OsInfoTests {
|
||||
class OsInfoTests {
|
||||
|
||||
@Test
|
||||
void osInfoIsAvailable() {
|
||||
|
||||
@@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public class UndertowWebServerRuntimeHintsTests {
|
||||
class UndertowWebServerRuntimeHintsTests {
|
||||
|
||||
@Test
|
||||
void registersHints() throws ClassNotFoundException {
|
||||
|
||||
@@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
|
||||
properties = "management.endpoints.jackson.isolated-object-mapper=false")
|
||||
@ContextConfiguration(loader = ApplicationStartupSpringBootContextLoader.class)
|
||||
public class JerseyActuatorIsolatedObjectMapperFalseTests {
|
||||
class JerseyActuatorIsolatedObjectMapperFalseTests {
|
||||
|
||||
@LocalServerPort
|
||||
private int port;
|
||||
|
||||
@@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
|
||||
properties = "management.endpoints.jackson.isolated-object-mapper=true")
|
||||
@ContextConfiguration(loader = ApplicationStartupSpringBootContextLoader.class)
|
||||
public class JerseyActuatorIsolatedObjectMapperTrueTests {
|
||||
class JerseyActuatorIsolatedObjectMapperTrueTests {
|
||||
|
||||
@LocalServerPort
|
||||
private int port;
|
||||
|
||||
@@ -54,7 +54,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*/
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||
@Testcontainers(disabledWithoutDocker = true)
|
||||
public class SampleSessionMongoApplicationTests {
|
||||
class SampleSessionMongoApplicationTests {
|
||||
|
||||
@Autowired
|
||||
private TestRestTemplate restTemplate;
|
||||
|
||||
@@ -51,7 +51,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*/
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||
@Testcontainers(disabledWithoutDocker = true)
|
||||
public class SampleSessionRedisApplicationTests {
|
||||
class SampleSessionRedisApplicationTests {
|
||||
|
||||
@Container
|
||||
static RedisContainer redis = new RedisContainer();
|
||||
|
||||
Reference in New Issue
Block a user