Skip to content

Commit

Permalink
Automations. Support executionID for activateFlowTriggerById
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-liablin committed Jun 5, 2024
1 parent 6d38496 commit 2f96508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/specs/automations/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ describe('<Automations> Basic', function() {
})

it('fails when execution id is invalid', async () => {
const errorMsg = 'The "executionId" argument must not be an empty string.'
const errorMsg = 'The "executionId" argument must be a non-empty string.'

await expect(Backendless.Automations.activateFlowTriggerById(FLOW_ID, TRIGGER_ID, {}, null)).to.eventually.be.rejectedWith(errorMsg)
await expect(Backendless.Automations.activateFlowTriggerById(FLOW_ID, TRIGGER_ID, {}, true)).to.eventually.be.rejectedWith(errorMsg)
Expand Down

0 comments on commit 2f96508

Please sign in to comment.