From f949e710a869ef692445d45f36f6f1281a5d4bc7 Mon Sep 17 00:00:00 2001 From: Sina Madani Date: Fri, 6 Sep 2024 17:22:36 +0100 Subject: [PATCH] Fix compilation error --- src/test/kotlin/com/vonage/client/kt/VoiceTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/kotlin/com/vonage/client/kt/VoiceTest.kt b/src/test/kotlin/com/vonage/client/kt/VoiceTest.kt index 37db160..df12579 100644 --- a/src/test/kotlin/com/vonage/client/kt/VoiceTest.kt +++ b/src/test/kotlin/com/vonage/client/kt/VoiceTest.kt @@ -469,13 +469,13 @@ class VoiceTest : AbstractTest() { fun `create call to WebSocket`() { val baseMap = mapOf("type" to "websocket", "uri" to websocketUri) testCreateCallToSingleEndpoint(baseMap) { - toWebSocket(websocketUri) + toWebSocket(websocketUri, wsContentType) } testCreateCallToSingleEndpoint(baseMap + mapOf( "content-type" to wsContentTypeStr, "headers" to customHeaders )) { - toWebSocket(websocketUri, wsContentTypeStr, customHeaders) + toWebSocket(websocketUri, wsContentType, customHeaders) } } @@ -648,7 +648,7 @@ class VoiceTest : AbstractTest() { fun `create call with connect to WebSocket ncco`() { testSingleNccoConnect( mapOf("uri" to websocketUri, "content-type" to wsContentTypeStr), - connectToWebsocket(websocketUri) + connectToWebsocket(websocketUri, wsContentType) ) testSingleNccoConnect(