File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
integration/voice/outbound/spec Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,8 @@ describe('Outbound Voice Task', () => {
252252 return new Promise ( async ( resolve , reject ) => {
253253 // eslint-disable-next-line
254254 const expected = `Value \'${ credentials . multiTaskWorkflowSid } z\' provided for` +
255- ' WorkflowSid has an invalid format' ;
255+ ` WorkflowSid as RoutingTarget has an invalid format. WorkspaceSid: ${ credentials . multiTaskWorkspaceSid } ,` +
256+ ` AccountSid: ${ credentials . accountSid } ` ;
256257 try {
257258
258259 await alice . createTask ( credentials . customerNumber , credentials . flexCCNumber ,
Original file line number Diff line number Diff line change @@ -247,9 +247,10 @@ describe('Outbound Voice Task', () => {
247247 it ( 'should throw a validation error when using an incorrect workflow sid' , ( ) => {
248248 return new Promise ( async ( resolve , reject ) => {
249249 // eslint-disable-next-line
250- const expectedDownstreamStatusText = `Value \'${ credentials . multiTaskWorkflowSid } z\' provided for` +
251- ' WorkflowSid has an invalid format' ;
252- const expectedErrorMessage = `Request failed with status code 400. ${ expectedDownstreamStatusText } `
250+ const expected = `Value \'${ credentials . multiTaskWorkflowSid } z\' provided for` +
251+ ` WorkflowSid as RoutingTarget has an invalid format. WorkspaceSid: ${ credentials . multiTaskWorkspaceSid } ,` +
252+ ` AccountSid: ${ credentials . accountSid } ` ;
253+ const expectedErrorMessage = `Request failed with status code 400. ${ expected } `
253254 try {
254255
255256 await alice . createTask ( credentials . customerNumber , credentials . flexCCNumber ,
You can’t perform that action at this time.
0 commit comments