Skip to content

Commit

Permalink
fix: reorder mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
cat2608 committed Mar 21, 2024
1 parent dd30a19 commit 73cca37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/snyk/common/lsp/LanguageServerWrapperTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,12 @@ class LanguageServerWrapperTest {
every { processMock.info().startInstant().isPresent } returns true
every { processMock.isAlive } returns true

every { cut.ensureLanguageServerInitialized() } returns true

every {
lsMock.workspaceService.executeCommand(any<ExecuteCommandParams>())
} returns CompletableFuture.completedFuture(mapOf("ok" to true))

every { cut.ensureLanguageServerInitialized() } returns true


// Act
Expand Down

0 comments on commit 73cca37

Please sign in to comment.