You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonq/lsp/textdocument/TextDocumentServiceHandlerTest.kt
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -193,10 +193,13 @@ class TextDocumentServiceHandlerTest {
193
193
sut =TextDocumentServiceHandler(projectRule.project, this)
194
194
advanceUntilIdle()
195
195
196
-
valdocument= mockk<VirtualFile> {
196
+
valfile= mockk<VirtualFile> {
197
197
every { inputStream } throws RuntimeException("read failure")
198
+
every { getUserData<Any>(any()) } returns null
199
+
every { putUserData<Any>(any(), any()) } returns Unit
0 commit comments