allow config of session cookie sameSite value
[squeep-authentication-module] / test / lib / session-manager.js
index 16243d732daf04ae6ea7400f137a35752e0af044..40322c19655b19ae433ef3d8d54662724f2b5d80 100644 (file)
@@ -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