Fixing issue with test case.

This commit is contained in:
mike12345567 2020-09-23 15:16:14 +01:00
parent ff2ba38633
commit c024fd6023
1 changed files with 1 additions and 1 deletions

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)