From f081b2538b703b04d32abf3df17812f5dad8e5b0 Mon Sep 17 00:00:00 2001 From: Brady Doll Date: Thu, 16 Apr 2020 12:08:02 -0400 Subject: [PATCH] Update `MultiSamlStrategy` test. --- test/multiSamlStrategy.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/multiSamlStrategy.js b/test/multiSamlStrategy.js index 84d54f21..271e80fa 100644 --- a/test/multiSamlStrategy.js +++ b/test/multiSamlStrategy.js @@ -57,12 +57,10 @@ describe("strategy#authenticate", function () { it("passes options on to saml strategy", function (done) { var passportOptions = { passReqToCallback: true, - authnRequestBinding: "HTTP-POST", getSamlOptions: function (req, fn) { try { fn(); strategy._passReqToCallback.should.eql(true); - strategy._authnRequestBinding.should.eql("HTTP-POST"); done(); } catch (err2) { done(err2); @@ -137,12 +135,10 @@ describe("strategy#logout", function () { it("passes options on to saml strategy", function (done) { var passportOptions = { passReqToCallback: true, - authnRequestBinding: "HTTP-POST", getSamlOptions: function (req, fn) { try { fn(); strategy._passReqToCallback.should.eql(true); - strategy._authnRequestBinding.should.eql("HTTP-POST"); done(); } catch (err2) { done(err2); @@ -216,12 +212,10 @@ describe("strategy#generateServiceProviderMetadata", function () { it("passes options on to saml strategy", function (done) { var passportOptions = { passReqToCallback: true, - authnRequestBinding: "HTTP-POST", getSamlOptions: function (req, fn) { try { fn(); strategy._passReqToCallback.should.eql(true); - strategy._authnRequestBinding.should.eql("HTTP-POST"); done(); } catch (err2) { done(err2);