Skip to content

Commit

Permalink
fixed broken CI unit test back
Browse files Browse the repository at this point in the history
  • Loading branch information
marythedev committed Sep 26, 2023
1 parent 0926999 commit c25d0b7
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 @@ -4,7 +4,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 c25d0b7

Please sign in to comment.