Workaround :(

This commit is contained in:
Marcin Grzejszczak
2018-10-11 18:04:21 +02:00
parent 2104d8453f
commit 192c643344

View File

@@ -18,6 +18,7 @@ package org.springframework.cloud.cli;
import java.io.File;
import java.net.URI;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
@@ -32,6 +33,11 @@ public class SampleIntegrationTests {
@Rule
public CliTester cli = new CliTester("samples/");
@BeforeClass
public static void setup() {
System.setProperty("spring.main.allow-bean-definition-overriding", "true");
}
@Test
public void appSample() throws Exception {
String output = this.cli.run("app.groovy");