@@ -225,7 +225,7 @@ public async Task NestedMapWillNotAffectRedirect()
225
225
var transaction = await server . SendAsync ( "http://example.com/base/login" ) ;
226
226
Assert . Equal ( HttpStatusCode . Redirect , transaction . Response . StatusCode ) ;
227
227
var location = transaction . Response . Headers . Location . AbsoluteUri ;
228
- Assert . Contains ( "https://www.facebook.com/v3.3 /dialog/oauth" , location ) ;
228
+ Assert . Contains ( "https://www.facebook.com/v4.0 /dialog/oauth" , location ) ;
229
229
Assert . Contains ( "response_type=code" , location ) ;
230
230
Assert . Contains ( "client_id=" , location ) ;
231
231
Assert . Contains ( "redirect_uri=" + UrlEncoder . Default . Encode ( "http://example.com/base/signin-facebook" ) , location ) ;
@@ -257,7 +257,7 @@ public async Task MapWillNotAffectRedirect()
257
257
var transaction = await server . SendAsync ( "http://example.com/login" ) ;
258
258
Assert . Equal ( HttpStatusCode . Redirect , transaction . Response . StatusCode ) ;
259
259
var location = transaction . Response . Headers . Location . AbsoluteUri ;
260
- Assert . Contains ( "https://www.facebook.com/v3.3 /dialog/oauth" , location ) ;
260
+ Assert . Contains ( "https://www.facebook.com/v4.0 /dialog/oauth" , location ) ;
261
261
Assert . Contains ( "response_type=code" , location ) ;
262
262
Assert . Contains ( "client_id=" , location ) ;
263
263
Assert . Contains ( "redirect_uri=" + UrlEncoder . Default . Encode ( "http://example.com/signin-facebook" ) , location ) ;
@@ -291,7 +291,7 @@ public async Task ChallengeWillTriggerRedirection()
291
291
var transaction = await server . SendAsync ( "http://example.com/challenge" ) ;
292
292
Assert . Equal ( HttpStatusCode . Redirect , transaction . Response . StatusCode ) ;
293
293
var location = transaction . Response . Headers . Location . AbsoluteUri ;
294
- Assert . Contains ( "https://www.facebook.com/v3.3 /dialog/oauth" , location ) ;
294
+ Assert . Contains ( "https://www.facebook.com/v4.0 /dialog/oauth" , location ) ;
295
295
Assert . Contains ( "response_type=code" , location ) ;
296
296
Assert . Contains ( "client_id=" , location ) ;
297
297
Assert . Contains ( "redirect_uri=" , location ) ;
0 commit comments