diff --git a/flank-scripts/src/test/kotlin/flank/common/FilesTest.kt b/flank-scripts/src/test/kotlin/flank/common/FilesTest.kt index 3755dedc65..d1f4115318 100644 --- a/flank-scripts/src/test/kotlin/flank/common/FilesTest.kt +++ b/flank-scripts/src/test/kotlin/flank/common/FilesTest.kt @@ -34,20 +34,6 @@ internal class FilesTest { expectedDestination.toFile().delete() } - @Test - fun `Should download file and store it and destination`() { - // given - val testSource = "https://path.com/to/test/settings.gradle.kts" - val testDestination = Paths.get(root.newFolder("temp").toString(), "settings.gradle.kts") - - // when - downloadFile(testSource, testDestination) - - // then - Assert.assertTrue(testDestination.toFile().exists()) - Assert.assertTrue(testDestination.toFile().length() > 0) - } - @Test fun `Should check if directory contains all needed files`() { // given diff --git a/flank-scripts/src/test/kotlin/flank/scripts/FuelMockServer.kt b/flank-scripts/src/test/kotlin/flank/scripts/FuelMockServer.kt index e695926d48..773f523408 100644 --- a/flank-scripts/src/test/kotlin/flank/scripts/FuelMockServer.kt +++ b/flank-scripts/src/test/kotlin/flank/scripts/FuelMockServer.kt @@ -12,7 +12,6 @@ class FuelMockServer : Client { return when { url.startsWith("https://api.github.com/repos/flank/flank/", ignoreCase = true) -> handleGithubMockRequest(url, request) url.startsWith(ZENHUB_BASE_URL) -> handleZenhubMockRequest(url, request) - url == "https://path.com/to/test/settings.gradle.kts" -> request.buildResponse("not empty", 200) else -> Response(request.url) } }