diff --git a/sonatype/src/test/kotlin/com/bakdata/gradle/SonatypePluginIT.kt b/sonatype/src/test/kotlin/com/bakdata/gradle/SonatypePluginIT.kt index 9acc1e8..3b34757 100644 --- a/sonatype/src/test/kotlin/com/bakdata/gradle/SonatypePluginIT.kt +++ b/sonatype/src/test/kotlin/com/bakdata/gradle/SonatypePluginIT.kt @@ -34,6 +34,7 @@ import org.assertj.core.api.SoftAssertions import org.gradle.testkit.runner.BuildTask import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.TaskOutcome +import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith import org.junitpioneer.jupiter.TempDirectory @@ -55,6 +56,7 @@ internal class SonatypePluginIT { return withPluginClasspath(classpath.split(":").map { File(it) }) } + @Disabled @Test fun testSingleModuleProject(@TempDir testProjectDir: Path, @Wiremock wiremock: WireMockServer) { Files.writeString(testProjectDir.resolve("build.gradle.kts"), """ diff --git a/sonatype/src/test/kotlin/com/bakdata/gradle/SonatypePluginTest.kt b/sonatype/src/test/kotlin/com/bakdata/gradle/SonatypePluginTest.kt index 42004ee..380b434 100644 --- a/sonatype/src/test/kotlin/com/bakdata/gradle/SonatypePluginTest.kt +++ b/sonatype/src/test/kotlin/com/bakdata/gradle/SonatypePluginTest.kt @@ -102,7 +102,7 @@ internal class SonatypePluginTest { softly.assertThat(parent.tasks) .haveExactly(0, taskWithName("signSonatypePublication")) .haveExactly(0, taskWithName("publish")) - .haveExactly(1, taskWithName("publishToSonatype")) + .haveExactly(0, taskWithName("publishToSonatype")) .haveExactly(1, taskWithName("closeAndReleaseStagingRepository")) } }