@@ -56,7 +56,7 @@ describe('<Automations> Basic', function() {
5656 } )
5757
5858 it ( 'fails when initial data is invalid' , async ( ) => {
59- const errorMsg = 'The "initialData" argument must be an object with an arbitrary structure .'
59+ const errorMsg = 'The "initialData" argument must be an object.'
6060
6161 await expect ( Backendless . Automations . activateFlow ( FLOW_NAME , null ) ) . to . eventually . be . rejectedWith ( errorMsg )
6262 await expect ( Backendless . Automations . activateFlow ( FLOW_NAME , true ) ) . to . eventually . be . rejectedWith ( errorMsg )
@@ -110,7 +110,7 @@ describe('<Automations> Basic', function() {
110110 } )
111111
112112 it ( 'fails when initial data is invalid' , async ( ) => {
113- const errorMsg = 'The "initialData" argument must be an object with an arbitrary structure .'
113+ const errorMsg = 'The "initialData" argument must be an object.'
114114
115115 await expect ( Backendless . Automations . activateFlowById ( FLOW_ID , null ) ) . to . eventually . be . rejectedWith ( errorMsg )
116116 await expect ( Backendless . Automations . activateFlowById ( FLOW_ID , true ) ) . to . eventually . be . rejectedWith ( errorMsg )
@@ -180,7 +180,7 @@ describe('<Automations> Basic', function() {
180180 } )
181181
182182 it ( 'fails when data is invalid' , async ( ) => {
183- const errorMsg = 'The "data" argument must be an object with an arbitrary structure .'
183+ const errorMsg = 'The "data" argument must be an object.'
184184
185185 await expect ( Backendless . Automations . activateFlowTrigger ( FLOW_NAME , TRIGGER_NAME , null ) ) . to . eventually . be . rejectedWith ( errorMsg )
186186 await expect ( Backendless . Automations . activateFlowTrigger ( FLOW_NAME , TRIGGER_NAME , true ) ) . to . eventually . be . rejectedWith ( errorMsg )
@@ -250,7 +250,7 @@ describe('<Automations> Basic', function() {
250250 } )
251251
252252 it ( 'fails when data is invalid' , async ( ) => {
253- const errorMsg = 'The "data" argument must be an object with an arbitrary structure .'
253+ const errorMsg = 'The "data" argument must be an object.'
254254
255255 await expect ( Backendless . Automations . activateFlowTriggerById ( FLOW_ID , TRIGGER_ID , null ) ) . to . eventually . be . rejectedWith ( errorMsg )
256256 await expect ( Backendless . Automations . activateFlowTriggerById ( FLOW_ID , TRIGGER_ID , true ) ) . to . eventually . be . rejectedWith ( errorMsg )
0 commit comments