Skip to content

Commit

Permalink
Fix IT test
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkumarct committed Nov 17, 2023
1 parent 9406d92 commit f1d82fb
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,11 @@ describe('Test tax-calculator.controller.js', () => {

it(`When payload body exists without correct cart information, it should returns 400 http status`, async () => {
let response = {};
let payload = {
message: {
},
};
let payload = {};
response = await request(server).post(`/taxCalculator`).send(payload);

expect(response).toBeDefined();
expect(response.statusCode).toEqual(HTTP_STATUS_SUCCESS_ACCEPTED);
expect(response.statusCode).toEqual(HTTP_STATUS_BAD_REQUEST);
});

afterAll(() => {
Expand Down

0 comments on commit f1d82fb

Please sign in to comment.