Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricky Raup authored and Ricky Raup committed Apr 17, 2024
1 parent 9f0ef78 commit 8db86e6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions server/src/routes/__tests__/admin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,6 @@ describe('testing admin routes', () => {
});
});

describe('testing GET /api/admin/adminstatus', () => {
it('admin calling /adminstatus is true', async () => {
// check admin status
const response = await agent.get('/api/admin/adminstatus').send();
expect(response.status).toBe(StatusCode.OK);
});
});

describe('testing PUT /api/admin/promote', () => {
it('admin can promote user', async () => {
// promote user
Expand Down

0 comments on commit 8db86e6

Please sign in to comment.