Skip to content

Commit 6c6cd23

Browse files
committed
Change task test integration
1 parent 206cb79 commit 6c6cd23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/tasks.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ describe("Tasks", function () {
106106
expect(res).to.have.status(200);
107107
expect(res.body).to.be.a("object");
108108
expect(res.body.message).to.equal("Task created successfully!");
109-
expect(res.body.id).to.be.a("string");
109+
expect(res.body.task.id).to.be.a("string");
110110
expect(res.body.task).to.be.a("object");
111111
expect(res.body.task.createdBy).to.equal(appOwner.username);
112112
expect(res.body.task.assignee).to.equal(appOwner.username);
113113
expect(res.body.task.participants).to.be.a("array");
114-
expect(res.body.dependsOn).to.be.a("array");
114+
expect(res.body.task.dependsOn).to.be.a("array");
115115
return done();
116116
});
117117
});

0 commit comments

Comments
 (0)