Fixing issue with test case.
This commit is contained in:
parent
ff2ba38633
commit
c024fd6023
|
@ -162,7 +162,7 @@ describe("/automations", () => {
|
||||||
await createAutomation()
|
await createAutomation()
|
||||||
const res = await request
|
const res = await request
|
||||||
.post(`/api/automations/${automation._id}/trigger`)
|
.post(`/api/automations/${automation._id}/trigger`)
|
||||||
.send({ name: "Test" })
|
.send({ name: "Test", description: "TEST" })
|
||||||
.set(defaultHeaders(app._id, instance._id))
|
.set(defaultHeaders(app._id, instance._id))
|
||||||
.expect('Content-Type', /json/)
|
.expect('Content-Type', /json/)
|
||||||
.expect(200)
|
.expect(200)
|
||||||
|
|
Loading…
Reference in New Issue