Skip to content

Commit fcd8bd6

Browse files
evanliu048rli
andauthored
Update plugins/amazonq/codewhisperer/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/codewhisperer/CodeWhispererTestBase.kt
Co-authored-by: Richard Li <[email protected]>
1 parent 7a9d69a commit fcd8bd6

File tree

1 file changed

+1
-1
lines changed
  • plugins/amazonq/codewhisperer/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/codewhisperer

1 file changed

+1
-1
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/codewhisperer/CodeWhispererTestBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ open class CodeWhispererTestBase {
128128
recommendationManager = CodeWhispererRecommendationManager.getInstance()
129129
codewhispererService = spy(CodeWhispererService.getInstance())
130130
ApplicationManager.getApplication().replaceService(CodeWhispererService::class.java, codewhispererService, disposableRule.disposable)
131-
doNothing().`when`(codewhispererService).promoteNextInvocationIfAvailable()
131+
doNothing().whenever(codewhispererService).promoteNextInvocationIfAvailable()
132132

133133
editorManager = CodeWhispererEditorManager.getInstance()
134134
settingsManager = CodeWhispererSettings.getInstance()

0 commit comments

Comments
 (0)