We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 535ac02 commit 216dc2eCopy full SHA for 216dc2e
spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
@@ -29,6 +29,7 @@
29
import org.junit.Rule;
30
import org.junit.Test;
31
import org.springframework.boot.OutputCapture;
32
+import org.springframework.boot.cli.command.CleanCommand;
33
import org.springframework.boot.cli.command.RunCommand;
34
35
import static org.junit.Assert.assertEquals;
@@ -66,8 +67,9 @@ public RunCommand call() throws Exception {
66
67
}
68
69
@Before
- public void setup() {
70
+ public void setup() throws Exception {
71
System.setProperty("disableSpringSnapshotRepos", "true");
72
+ new CleanCommand().run("org.springframework");
73
74
75
@After
0 commit comments