Browse Source

Fixing issue with test case.

pull/630/head
mike12345567 6 years ago
parent
commit
e7be9dd698
  1. 2
      packages/server/src/api/routes/tests/automation.spec.js

2
packages/server/src/api/routes/tests/automation.spec.js

@ -162,7 +162,7 @@ describe("/automations", () => {
await createAutomation()
const res = await request
.post(`/api/automations/${automation._id}/trigger`)
.send({ name: "Test" })
.send({ name: "Test", description: "TEST" })
.set(defaultHeaders(app._id, instance._id))
.expect('Content-Type', /json/)
.expect(200)

Loading…
Cancel
Save