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: notifications/core/src/test/kotlin/org/opensearch/notifications/core/destinations/ChimeDestinationTests.kt
+4-5
Original file line number
Diff line number
Diff line change
@@ -87,23 +87,22 @@ internal class ChimeDestinationTests {
87
87
88
88
@Test
89
89
fun`test chime message empty entity response`() {
90
-
val mockHttpClient:CloseableHttpClient=EasyMock.createMock(CloseableHttpClient::class.java)
90
+
val mockHttpClient= mockk<CloseableHttpClient>()
91
91
val expectedWebhookResponse =DestinationMessageResponse(RestStatus.OK.status, "{}")
0 commit comments