Skip to content

Commit 521358f

Browse files
author
Kate Brune
committed
update DefaultApi.spec.ts
1 parent 7373ac1 commit 521358f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

__tests__/DefaultApi.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,20 +292,20 @@ describe('DefaultAPI', () => {
292292

293293
test('#listSmsMessages', async () => {
294294
const to = "to_example"
295-
const _from = "from_example"
295+
const from = "from_example"
296296
const beginTime = "beginTime_example"
297297
const endTime = "endTime_example"
298298
const direction = MessageDirection.INBOUND
299299
const campaignId = "CX56XX4"
300300
const brandId = "BX56XX4"
301301
const is10DLC = true
302-
let data = await apiInstance.listSmsMessages(to, _from, beginTime, endTime, direction)
302+
let data = await apiInstance.listSmsMessages(to, from, beginTime, endTime, direction)
303303
expect(data).toBeInstanceOf(MessagesList)
304304
});
305305

306306
test('#makeACall', async () => {
307307
const request = {
308-
_from: "_from_example",
308+
from: "from_example",
309309
to: "to_example",
310310
applicationId: "applicationId_example",
311311
sendDigits: "sendDigits_example",
@@ -330,7 +330,7 @@ describe('DefaultAPI', () => {
330330

331331
test('#sendAnSmsMessage', async () => {
332332
const request = {
333-
_from: "_from_example",
333+
from: "from_example",
334334
to: "to_example",
335335
text: "Example Text"
336336
}
@@ -442,7 +442,7 @@ describe('DefaultAPI', () => {
442442
test('#makeAWebrtcJwt', async () => {
443443
const createWebrtcToken: freeclimb.CreateWebRTCToken = {
444444
to: "to_example",
445-
_from: "from_example",
445+
from: "from_example",
446446
uses: 1,
447447
}
448448
let data = await apiInstance.makeAWebrtcJwt(createWebrtcToken)

0 commit comments

Comments
 (0)