@@ -585,7 +585,7 @@ public async Task NestedMapWillNotAffectRedirect()
585
585
var transaction = await server . SendAsync ( "http://example.com/base/login" ) ;
586
586
Assert . Equal ( HttpStatusCode . Redirect , transaction . Response . StatusCode ) ;
587
587
var location = transaction . Response . Headers . Location . AbsoluteUri ;
588
- Assert . Contains ( "https://www.facebook.com/v2.6 /dialog/oauth" , location ) ;
588
+ Assert . Contains ( "https://www.facebook.com/v2.12 /dialog/oauth" , location ) ;
589
589
Assert . Contains ( "response_type=code" , location ) ;
590
590
Assert . Contains ( "client_id=" , location ) ;
591
591
Assert . Contains ( "redirect_uri=" + UrlEncoder . Default . Encode ( "http://example.com/base/signin-facebook" ) , location ) ;
@@ -617,7 +617,7 @@ public async Task MapWillNotAffectRedirect()
617
617
var transaction = await server . SendAsync ( "http://example.com/login" ) ;
618
618
Assert . Equal ( HttpStatusCode . Redirect , transaction . Response . StatusCode ) ;
619
619
var location = transaction . Response . Headers . Location . AbsoluteUri ;
620
- Assert . Contains ( "https://www.facebook.com/v2.6 /dialog/oauth" , location ) ;
620
+ Assert . Contains ( "https://www.facebook.com/v2.12 /dialog/oauth" , location ) ;
621
621
Assert . Contains ( "response_type=code" , location ) ;
622
622
Assert . Contains ( "client_id=" , location ) ;
623
623
Assert . Contains ( "redirect_uri=" + UrlEncoder . Default . Encode ( "http://example.com/signin-facebook" ) , location ) ;
@@ -652,7 +652,7 @@ public async Task ChallengeWillTriggerRedirection()
652
652
var transaction = await server . SendAsync ( "http://example.com/challenge" ) ;
653
653
Assert . Equal ( HttpStatusCode . Redirect , transaction . Response . StatusCode ) ;
654
654
var location = transaction . Response . Headers . Location . AbsoluteUri ;
655
- Assert . Contains ( "https://www.facebook.com/v2.6 /dialog/oauth" , location ) ;
655
+ Assert . Contains ( "https://www.facebook.com/v2.12 /dialog/oauth" , location ) ;
656
656
Assert . Contains ( "response_type=code" , location ) ;
657
657
Assert . Contains ( "client_id=" , location ) ;
658
658
Assert . Contains ( "redirect_uri=" , location ) ;
0 commit comments