From c9d11fffa6f844271864140f85b2f9d3791af95f Mon Sep 17 00:00:00 2001 From: Kaveh Shamsi Date: Thu, 15 Jun 2023 16:35:00 +0200 Subject: [PATCH] Removes unnecessary @RunWith annotations (#2290) --- .../config/server/TransportConfigurationIntegrationTests.java | 4 ---- 1 file changed, 4 deletions(-) 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 e52b5293..9b1436a9 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.SshTransport; 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.PropertyBasedSshSessionFactor 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 class TransportConfigurationIntegrationTests { 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 class TransportConfigurationIntegrationTests { } - @RunWith(SpringRunner.class) @SpringBootTest(classes = { TestConfigServerApplication.class, SshPropertyValidator.class }, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = { "spring.cloud.config.server.composite[0].type=git",