Make ModifiedClassPathExtension package private
Meta-annotate `ClassPathExclusions` and `ClassPathOverrides` with so that the `ModifiedClassPathExtension` no longer needs to be used directly. See gh-17491
This commit is contained in:
@@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
||||
import org.springframework.boot.testsupport.runner.classpath.ClassPathOverrides;
|
||||
import org.springframework.boot.testsupport.runner.classpath.ModifiedClassPathExtension;
|
||||
import org.springframework.boot.testsupport.system.CapturedOutput;
|
||||
import org.springframework.boot.testsupport.system.OutputCaptureExtension;
|
||||
|
||||
@@ -32,7 +31,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
@ExtendWith(ModifiedClassPathExtension.class)
|
||||
@ExtendWith(OutputCaptureExtension.class)
|
||||
@ClassPathOverrides("org.json:json:20140107")
|
||||
class DuplicateJsonObjectContextCustomizerFactoryTests {
|
||||
|
||||
Reference in New Issue
Block a user