Skip to content

Commit

Permalink
fixing the test back
Browse files Browse the repository at this point in the history
  • Loading branch information
Bregwin Jogi committed May 27, 2024
1 parent 7c0941e commit 2955301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/get.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const app = require('../../src/app');

describe('GET /v1/fragments', () => {
// If the request is missing the Authorization header, it should be forbidden
test('unauthenticated requests are denied', () => request(app).get('/v1/fragments').expect(500));
test('unauthenticated requests are denied', () => request(app).get('/v1/fragments').expect(401));

// If the wrong username/password pair are used (no such user), it should be forbidden
test('incorrect credentials are denied', () =>
Expand Down

0 comments on commit 2955301

Please sign in to comment.