Skip to content

Commit

Permalink
Update MultiSamlStrategy test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradydoll committed Apr 16, 2020
1 parent a77cff1 commit 36a2f37
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/multiSamlStrategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 36a2f37

Please sign in to comment.