diff --git a/test/unit/http/preprocessors.js b/test/unit/http/preprocessors.js index 78eb6a6d3..4341f25c9 100644 --- a/test/unit/http/preprocessors.js +++ b/test/unit/http/preprocessors.js @@ -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') }, @@ -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') },