Fixing issue with test case.
This commit is contained in:
parent
98ce6dce33
commit
e7be9dd698
|
@ -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