This commit is contained in:
Stephane Nicoll 2018-05-22 13:40:40 +02:00
parent d5abd57a91
commit 585135a280
1 changed files with 3 additions and 2 deletions

View File

@ -77,8 +77,9 @@ public class SimpleMainTests {
private String[] getArgs(String... args) {
List<String> list = new ArrayList<>(Arrays.asList(
"--spring.main.web-application-type=none", "--spring.main.showBanner=OFF",
"--spring.main.registerShutdownHook=false"));
"--spring.main.web-application-type=none",
"--spring.main.show-banner=OFF",
"--spring.main.register-shutdownHook=false"));
if (args.length > 0) {
list.add("--spring.main.sources="
+ StringUtils.arrayToCommaDelimitedString(args));