diff --git a/StorageMgmtServ/routes/__test__/test.png b/StorageMgmtServ/routes/__test__/test.png new file mode 100644 index 0000000..6c4676e Binary files /dev/null and b/StorageMgmtServ/routes/__test__/test.png differ diff --git a/UsageMntrServ/routes/__test__/usage.test.ts b/UsageMntrServ/routes/__test__/usage.test.ts index 571a63a..c6a49a0 100644 --- a/UsageMntrServ/routes/__test__/usage.test.ts +++ b/UsageMntrServ/routes/__test__/usage.test.ts @@ -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." }); }); });