Skip to content

Commit

Permalink
Update MultiSamlStrategy test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradydoll committed Feb 6, 2021
1 parent fb53cdb commit f081b25
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 @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f081b25

Please sign in to comment.