fix missing 'failOnNoStubs' property configuration (#1928)

This commit is contained in:
Frank Scheffler
2023-08-09 12:35:53 +02:00
committed by GitHub
parent d8f95c6108
commit 8d7200aa94

View File

@@ -114,7 +114,7 @@ public class StubRunnerConfiguration {
.withDeleteStubsAfterTest(Boolean.parseBoolean(resolvePlaceholder(props.isDeleteStubsAfterTest())))
.withGenerateStubs(Boolean.parseBoolean(resolvePlaceholder(props.isGenerateStubs())))
.withProperties(props.getProperties()).withHttpServerStubConfigurer(props.getHttpServerStubConfigurer())
.withServerId(resolvePlaceholder(props.getServerId()));
.withServerId(resolvePlaceholder(props.getServerId())).withFailOnNoStubs(props.isFailOnNoStubs());
}
private String[] resolvePlaceholder(String[] string) {