1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

Fixing issue with test case.

This commit is contained in:
mike12345567 2020-09-23 15:16:14 +01:00
parent ff2ba38633
commit c024fd6023

View file

@ -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)