Skip to content

Commit

Permalink
test/preprocessors: fix test titles (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn authored Nov 11, 2024
1 parent f85ff49 commit 70f7710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/http/preprocessors.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ describe('preprocessors', () => {
should.not.exist(context);
}));

it('should do nothing if Cookie auth is attempted with primary auth present', () => {
it('should prioritise primary auth over Cookie auth', () => {
let caught = false;
Promise.resolve(authHandler(
{ Auth, Sessions: mockSessions('alohomora') },
Expand All @@ -204,7 +204,7 @@ describe('preprocessors', () => {
});
});

it('should do nothing if Cookie auth is attempted with fk auth present', () => {
it('should prioritise fk auth over Cookie auth', () => {
let caught = false;
Promise.resolve(authHandler(
{ Auth, Sessions: mockSessions('alohomora') },
Expand Down

0 comments on commit 70f7710

Please sign in to comment.