Removes unnecessary @RunWith annotations (#2290)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user