File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { fromJS } from "immutable"
44import win from "core/window"
55import oauth2Authorize from "core/oauth2-authorize"
66
7- describe ( "OAuth2 " , function ( ) {
7+ describe ( "oauth2 " , function ( ) {
88
99 let mockSchema = {
1010 flow : "accessCode" ,
@@ -21,14 +21,14 @@ describe("OAuth2", function () {
2121
2222 describe ( "authorize redirect" , function ( ) {
2323
24- it ( "should build redirectUrl " , function ( ) {
24+ it ( "should build authorize url " , function ( ) {
2525 win . open = createSpy ( )
2626 oauth2Authorize ( authConfig )
2727 expect ( win . open . calls . length ) . toEqual ( 1 )
2828 expect ( win . open . calls [ 0 ] . arguments [ 0 ] ) . toMatch ( "https://testAuthorizationUrl?response_type=code&redirect_uri=&state=" )
2929 } )
3030
31- it ( "should build correct redirectUrl from authorizeUrl with query parameters" , function ( ) {
31+ it ( "should append query paramters to authorizeUrl with query parameters" , function ( ) {
3232 win . open = createSpy ( )
3333 mockSchema . authorizationUrl = "https://testAuthorizationUrl?param=1"
3434 oauth2Authorize ( authConfig )
You can’t perform that action at this time.
0 commit comments