@@ -57,12 +57,10 @@ describe("strategy#authenticate", function () {
57
57
it ( "passes options on to saml strategy" , function ( done ) {
58
58
var passportOptions = {
59
59
passReqToCallback : true ,
60
- authnRequestBinding : "HTTP-POST" ,
61
60
getSamlOptions : function ( req , fn ) {
62
61
try {
63
62
fn ( ) ;
64
63
strategy . _passReqToCallback . should . eql ( true ) ;
65
- strategy . _authnRequestBinding . should . eql ( "HTTP-POST" ) ;
66
64
done ( ) ;
67
65
} catch ( err2 ) {
68
66
done ( err2 ) ;
@@ -137,12 +135,10 @@ describe("strategy#logout", function () {
137
135
it ( "passes options on to saml strategy" , function ( done ) {
138
136
var passportOptions = {
139
137
passReqToCallback : true ,
140
- authnRequestBinding : "HTTP-POST" ,
141
138
getSamlOptions : function ( req , fn ) {
142
139
try {
143
140
fn ( ) ;
144
141
strategy . _passReqToCallback . should . eql ( true ) ;
145
- strategy . _authnRequestBinding . should . eql ( "HTTP-POST" ) ;
146
142
done ( ) ;
147
143
} catch ( err2 ) {
148
144
done ( err2 ) ;
@@ -216,12 +212,10 @@ describe("strategy#generateServiceProviderMetadata", function () {
216
212
it ( "passes options on to saml strategy" , function ( done ) {
217
213
var passportOptions = {
218
214
passReqToCallback : true ,
219
- authnRequestBinding : "HTTP-POST" ,
220
215
getSamlOptions : function ( req , fn ) {
221
216
try {
222
217
fn ( ) ;
223
218
strategy . _passReqToCallback . should . eql ( true ) ;
224
- strategy . _authnRequestBinding . should . eql ( "HTTP-POST" ) ;
225
219
done ( ) ;
226
220
} catch ( err2 ) {
227
221
done ( err2 ) ;
0 commit comments