Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Sep 6, 2024
1 parent d1a0756 commit f949e71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/kotlin/com/vonage/client/kt/VoiceTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit f949e71

Please sign in to comment.