diff --git a/spring-cloud-config-server/src/test/java/org/springframework/cloud/config/server/TransportConfigurationIntegrationTests.java b/spring-cloud-config-server/src/test/java/org/springframework/cloud/config/server/TransportConfigurationIntegrationTests.java index e52b52930f..9b1436a9d4 100644 --- a/spring-cloud-config-server/src/test/java/org/springframework/cloud/config/server/TransportConfigurationIntegrationTests.java +++ b/spring-cloud-config-server/src/test/java/org/springframework/cloud/config/server/TransportConfigurationIntegrationTests.java @@ -29,7 +29,6 @@ import org.eclipse.jgit.transport.URIish; import org.eclipse.jgit.transport.sshd.SshdSessionFactory; import org.junit.jupiter.api.Test; -import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; @@ -42,7 +41,6 @@ import org.springframework.cloud.config.server.ssh.SshPropertyValidator; import org.springframework.cloud.config.server.test.TestConfigServerApplication; import org.springframework.test.context.ActiveProfiles; -import org.springframework.test.context.junit4.SpringRunner; import static org.assertj.core.api.Assertions.assertThat; @@ -334,7 +332,6 @@ public void strictHostKeyCheckShouldCheck() throws Exception { public static class CallbackWithHttpUrlsOnly { - @RunWith(SpringRunner.class) @SpringBootTest(classes = { TestConfigServerApplication.class, SshPropertyValidator.class }, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = { "spring.cloud.config.server.git.uri=https://gitserver.com/team/repo.git" }) @@ -364,7 +361,6 @@ public void noSessionFactoryIsConfiguredForSshTransports() throws Exception { } - @RunWith(SpringRunner.class) @SpringBootTest(classes = { TestConfigServerApplication.class, SshPropertyValidator.class }, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = { "spring.cloud.config.server.composite[0].type=git",