From 8109031bd195b1e8b45456e28957eb5dabdd7c70 Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Wed, 4 Oct 2023 13:08:48 +0200 Subject: [PATCH] fix: CliDownloaderTest --- .../io/snyk/plugin/services/download/CliDownloaderTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/io/snyk/plugin/services/download/CliDownloaderTest.kt b/src/test/kotlin/io/snyk/plugin/services/download/CliDownloaderTest.kt index 6b38743f6..a63ae32d7 100644 --- a/src/test/kotlin/io/snyk/plugin/services/download/CliDownloaderTest.kt +++ b/src/test/kotlin/io/snyk/plugin/services/download/CliDownloaderTest.kt @@ -75,7 +75,7 @@ class CliDownloaderTest { val expectedSha = cut.calculateSha256("wrong sha".toByteArray()) mockCliDownload() - + every { pluginSettings() } returns SnykApplicationSettingsStateService() try { cut.downloadFile(testFile, expectedSha, mockk(relaxed = true)) fail("Should have thrown ChecksumVerificationException")