Skip to content

Commit f081b25

Browse files
committed
Update MultiSamlStrategy test.
1 parent fb53cdb commit f081b25

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/multiSamlStrategy.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ describe("strategy#authenticate", function () {
5757
it("passes options on to saml strategy", function (done) {
5858
var passportOptions = {
5959
passReqToCallback: true,
60-
authnRequestBinding: "HTTP-POST",
6160
getSamlOptions: function (req, fn) {
6261
try {
6362
fn();
6463
strategy._passReqToCallback.should.eql(true);
65-
strategy._authnRequestBinding.should.eql("HTTP-POST");
6664
done();
6765
} catch (err2) {
6866
done(err2);
@@ -137,12 +135,10 @@ describe("strategy#logout", function () {
137135
it("passes options on to saml strategy", function (done) {
138136
var passportOptions = {
139137
passReqToCallback: true,
140-
authnRequestBinding: "HTTP-POST",
141138
getSamlOptions: function (req, fn) {
142139
try {
143140
fn();
144141
strategy._passReqToCallback.should.eql(true);
145-
strategy._authnRequestBinding.should.eql("HTTP-POST");
146142
done();
147143
} catch (err2) {
148144
done(err2);
@@ -216,12 +212,10 @@ describe("strategy#generateServiceProviderMetadata", function () {
216212
it("passes options on to saml strategy", function (done) {
217213
var passportOptions = {
218214
passReqToCallback: true,
219-
authnRequestBinding: "HTTP-POST",
220215
getSamlOptions: function (req, fn) {
221216
try {
222217
fn();
223218
strategy._passReqToCallback.should.eql(true);
224-
strategy._authnRequestBinding.should.eql("HTTP-POST");
225219
done();
226220
} catch (err2) {
227221
done(err2);

0 commit comments

Comments
 (0)