You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/integration/tasks.test.js
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -583,6 +583,10 @@ describe("Tasks", function () {
583
583
returndone;
584
584
}
585
585
expect(res).to.have.status(200);
586
+
expect(res).to.have.header(
587
+
"X-Deprecation-Warning",
588
+
"WARNING: This endpoint is deprecated and will be removed in the future. Please use /tasks/:userId?dev=true&completed=true to get the updated profile details."
589
+
);
586
590
expect(res.body).to.be.a("array");
587
591
expect(res.body[0].status).to.equal(COMPLETED);
588
592
@@ -630,6 +634,10 @@ describe("Tasks", function () {
0 commit comments