X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Flib%2Fsession-manager.js;h=40322c19655b19ae433ef3d8d54662724f2b5d80;hb=9909f67798d822ed5e98150c0516dfb754096fe2;hp=888cfa5c10fcb25d07325894023cb2cbe1caa8b0;hpb=9c8e775e5ab96a1788f535760bfa72205c430d15;p=squeep-authentication-module diff --git a/test/lib/session-manager.js b/test/lib/session-manager.js index 888cfa5..40322c1 100644 --- a/test/lib/session-manager.js +++ b/test/lib/session-manager.js @@ -3,7 +3,7 @@ 'use strict'; -const assert = require('assert'); +const assert = require('node:assert'); const sinon = require('sinon'); const SessionManager = require('../../lib/session-manager'); @@ -50,6 +50,8 @@ describe('SessionManager', function () { describe('constructor', function () { it('covers options', function () { delete options.dingus.proxyPrefix; + delete options.authenticator.secureAuthOnly; + options.authenticator.sessionCookieSameSite = 'None'; manager = new SessionManager(stubLogger, stubAuthenticator, options); }); }); // constructor