diff --git a/src/test/java/io/spring/ge/conventions/gradle/BuildScanConventionsTests.java b/src/test/java/io/spring/ge/conventions/gradle/BuildScanConventionsTests.java index 55aa810..47b4b7d 100644 --- a/src/test/java/io/spring/ge/conventions/gradle/BuildScanConventionsTests.java +++ b/src/test/java/io/spring/ge/conventions/gradle/BuildScanConventionsTests.java @@ -135,7 +135,7 @@ void whenGitHubActionsEnvVarsArePresentThenBuildScanHasACiBuildLinkToIt() { @Test void whenNoCiIndicatorsArePresentThenBuildScanIsTaggedWithLocalNotCi() { - new BuildScanConventions(this.processRunner).execute(this.buildScan); + new BuildScanConventions(this.processRunner, Collections.emptyMap()).execute(this.buildScan); assertThat(this.buildScan.tags).contains("Local").doesNotContain("CI"); } @@ -195,7 +195,7 @@ void whenGitStatusIsDirtyThenBuildScanIsTaggedDirtyAndHasGitStatusCustomValue() @Test void whenBuildingLocallyThenBackgroundUploadIsEnabled() { - new BuildScanConventions(this.processRunner).execute(this.buildScan); + new BuildScanConventions(this.processRunner, Collections.emptyMap()).execute(this.buildScan); assertThat(this.buildScan.uploadInBackground).isTrue(); }