Skip to content

Commit fb10b5e

Browse files
committed
changes
1 parent 8a43794 commit fb10b5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/routes/assignment.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ afterAll((done) => {
3535
describe("checking assignment functions", () => {
3636
it("create assignment", async () => {
3737
const response = await agent.post("/assignment/add").send({
38-
no: "123",
38+
no: 123,
3939
title: "xyz",
40-
type: ["FA"],
40+
type: "FA",
4141
marks: 100,
4242
});
4343
expect(response.headers["content-type"]).toMatch(/json/);
@@ -49,7 +49,7 @@ describe("checking assignment functions", () => {
4949
id = await agent.post("/assignment/add").send({
5050
no: "123",
5151
title: "xyz",
52-
type: ["FA"],
52+
type: "FA",
5353
marks: 100,
5454
});
5555
id = JSON.parse(id.res.text).id;

0 commit comments

Comments
 (0)