-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
256 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,8 +52,13 @@ abstract class AbstractTest { | |
protected val testUuid: UUID = UUID.fromString(testUuidStr) | ||
protected val toNumber = "447712345689" | ||
protected val altNumber = "447700900001" | ||
protected val brand = "Nexmo KT" | ||
protected val text = "Hello, World!" | ||
protected val sipUri = "sip:[email protected]" | ||
protected val clientRef = "my-personal-reference" | ||
protected val textHexEncoded = "48656c6c6f2c20576f726c6421" | ||
protected val entityId = "1101407360000017170" | ||
protected val contentId = "1107158078772563946" | ||
protected val smsMessageId = "0C000000217B7F02" | ||
protected val callIdStr = "63f61863-4a51-4f6b-86e1-46edebcf9356" | ||
protected val networkCode = "65512" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,17 +29,13 @@ class VerifyTest : AbstractTest() { | |
private val requestIdStr = "c11236f4-00bf-4b89-84ba-88b25df97315" | ||
private val requestId = UUID.fromString(requestIdStr) | ||
private val requestIdUrl = "$baseUrl/$requestIdStr" | ||
private val brand = "Nexmo KT" | ||
private val clientRef = "my-personal-reference" | ||
private val timeout = 60 | ||
private val fraudCheck = false | ||
private val sandbox = true | ||
private val codeLength = 5 | ||
private val code = "1228864" | ||
private val locale = "ja-jp" | ||
private val whatsappNumber = "447700400080" | ||
private val entityId = "1101407360000017170" | ||
private val contentId = "1107158078772563946" | ||
private val appHash = "ABC123def45" | ||
private val toEmail = "[email protected]" | ||
private val fromEmail = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ class VoiceTest : AbstractTest() { | |
private val voiceClient = vonage.voice | ||
private val callsBaseUrl = "/v1/calls" | ||
private val callUrl = "$callsBaseUrl/$callIdStr" | ||
private val callObj = voiceClient.call(UUID.fromString(callIdStr)) | ||
private val callObj = voiceClient.call(callIdStr) | ||
private val conversationId = "CON-f972836a-550f-45fa-956c-12a2ab5b7d22" | ||
private val price = "23.40" | ||
private val duration = 60 | ||
|
@@ -45,7 +45,6 @@ class VoiceTest : AbstractTest() { | |
private val onAnswerUrl = "https://example.com/ncco.json" | ||
private val websocketUri = "wss://example.com/socket" | ||
private val ringbackTone = "http://example.com/ringbackTone.wav" | ||
private val sipUri = "sip:[email protected]" | ||
private val wsContentType = "audio/l16;rate=8000" | ||
private val userToUserHeader = "56a390f3d2b7310023a" | ||
private val conversationName = "selective-audio Demo" | ||
|