fix(test): disambiguate mock upload call after ByteArray overload
The new ByteArray upload overload on DesktopBlossomClient made the positional any() mock call ambiguous. Specify explicit type parameters. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ class DesktopUploadOrchestratorTest {
|
||||
val mockClient = mockk<DesktopBlossomClient>()
|
||||
|
||||
coEvery {
|
||||
mockClient.upload(any(), any(), any(), any())
|
||||
mockClient.upload(any<java.io.File>(), any<String>(), any<String>(), any())
|
||||
} returns BlossomUploadResult(url = "https://example.com/hash")
|
||||
|
||||
val orchestrator = DesktopUploadOrchestrator(mockClient)
|
||||
|
||||
Reference in New Issue
Block a user