Browse Source

Moves to new classpath exclusion classes

pull/332/merge
Spencer Gibb 7 years ago
parent
commit
70ff397188
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 8
      spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/encrypt/RsaDisabledTests.java

8
spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/encrypt/RsaDisabledTests.java

@ -16,13 +16,15 @@ package org.springframework.cloud.bootstrap.encrypt; @@ -16,13 +16,15 @@ package org.springframework.cloud.bootstrap.encrypt;
*/
import java.util.Map;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.ClassPathExclusions;
import org.springframework.cloud.FilteredClassPathRunner;
import org.springframework.cloud.test.ClassPathExclusions;
import org.springframework.cloud.test.ModifiedClassPathRunner;
import org.springframework.context.ConfigurableApplicationContext;
import static org.hamcrest.MatcherAssert.assertThat;
@ -31,7 +33,7 @@ import static org.hamcrest.Matchers.hasSize; @@ -31,7 +33,7 @@ import static org.hamcrest.Matchers.hasSize;
/**
* @author Ryan Baxter
*/
@RunWith(FilteredClassPathRunner.class)
@RunWith(ModifiedClassPathRunner.class)
@ClassPathExclusions({"spring-security-rsa*.jar"})
public class RsaDisabledTests {

Loading…
Cancel
Save