Skip to content

Commit

Permalink
Modified Test Cases
Browse files Browse the repository at this point in the history
  • Loading branch information
itsAdee committed May 10, 2024
1 parent afb7e20 commit f9d982b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file added StorageMgmtServ/routes/__test__/test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions UsageMntrServ/routes/__test__/usage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ it('creates a new user and updates the usage bandwidth', async () => {
// Update the usage bandwidth
const response = await request(app)
.post('/api/usageMntr/updateUsage')
.send({ userID, bandwidth })
.expect(201);

console.log(response.body);
.send({ userID, bandwidth });

expect(response.status).toEqual(201);
expect(response.body).toEqual({ "message": "Usage request created." });
});
});

Expand Down

0 comments on commit f9d982b

Please sign in to comment.