We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e15a4d commit b3bf544Copy full SHA for b3bf544
test/routes/faculty.test.js
@@ -41,7 +41,7 @@ afterAll((done) => {
41
42
describe("Faculty API", () => {
43
it("should create faculty", async () => {
44
- const response = await agent.post("/faculty/add").send({
+ const response = await agent.post("/faculty/create").send({
45
ERPID: "test123",
46
dateOfJoining: "2023-06-18T14:11:30Z",
47
dateOfLeaving: "2023-07-18T14:11:30Z",
@@ -66,7 +66,7 @@ describe("Faculty API", () => {
66
describe("after adding faculty", () => {
67
let id;
68
beforeEach(async () => {
69
- id = await agent.post("/faculty/add").send(
+ id = await agent.post("/faculty/create").send(
70
{
71
72
0 commit comments