diff --git a/test/multiSamlStrategy.js b/test/multiSamlStrategy.js index 72939ded..aa7185dd 100644 --- a/test/multiSamlStrategy.js +++ b/test/multiSamlStrategy.js @@ -50,12 +50,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); @@ -130,12 +128,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); @@ -210,12 +206,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);