|
29 | 29 | import org.eclipse.jgit.transport.URIish; |
30 | 30 | import org.eclipse.jgit.transport.sshd.SshdSessionFactory; |
31 | 31 | import org.junit.jupiter.api.Test; |
32 | | -import org.junit.runner.RunWith; |
33 | 32 |
|
34 | 33 | import org.springframework.beans.factory.annotation.Autowired; |
35 | 34 | import org.springframework.boot.test.context.SpringBootTest; |
|
42 | 41 | import org.springframework.cloud.config.server.ssh.SshPropertyValidator; |
43 | 42 | import org.springframework.cloud.config.server.test.TestConfigServerApplication; |
44 | 43 | import org.springframework.test.context.ActiveProfiles; |
45 | | -import org.springframework.test.context.junit4.SpringRunner; |
46 | 44 |
|
47 | 45 | import static org.assertj.core.api.Assertions.assertThat; |
48 | 46 |
|
@@ -334,7 +332,6 @@ public void strictHostKeyCheckShouldCheck() throws Exception { |
334 | 332 |
|
335 | 333 | public static class CallbackWithHttpUrlsOnly { |
336 | 334 |
|
337 | | - @RunWith(SpringRunner.class) |
338 | 335 | @SpringBootTest(classes = { TestConfigServerApplication.class, SshPropertyValidator.class }, |
339 | 336 | webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, |
340 | 337 | properties = { "spring.cloud.config.server.git.uri=https://gitserver.com/team/repo.git" }) |
@@ -364,7 +361,6 @@ public void noSessionFactoryIsConfiguredForSshTransports() throws Exception { |
364 | 361 |
|
365 | 362 | } |
366 | 363 |
|
367 | | - @RunWith(SpringRunner.class) |
368 | 364 | @SpringBootTest(classes = { TestConfigServerApplication.class, SshPropertyValidator.class }, |
369 | 365 | webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, |
370 | 366 | properties = { "spring.cloud.config.server.composite[0].type=git", |
|
0 commit comments