Skip to content

Commit

Permalink
fix: CliDownloaderTest
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiandoetsch committed Oct 4, 2023
1 parent 4429c62 commit 8109031
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8109031

Please sign in to comment.