From 70f7710011a511c7b4d9675304f90b1219b45f6b Mon Sep 17 00:00:00 2001 From: Alex Anderson <191496+alxndrsn@users.noreply.github.com> Date: Mon, 11 Nov 2024 20:09:04 +0300 Subject: [PATCH] test/preprocessors: fix test titles (#1285) --- test/unit/http/preprocessors.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') },