@@ -701,7 +701,7 @@ - (void)testAcquireTokenInteractive_whenClaimsIsPassedViaOverloadedAcquireToken_
701
701
XCTestExpectation *expectation = [self expectationWithDescription: @" acquireToken" ];
702
702
703
703
MSALWebviewParameters *webviewParameters = [[MSALWebviewParameters alloc ] initWithAuthPresentationViewController: [self .class sharedViewControllerStub ]];
704
- __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakeb2cscopes " ]
704
+ __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakescopes " ]
705
705
webviewParameters: webviewParameters];
706
706
parameters.promptType = MSALPromptTypeDefault;
707
707
parameters.extraQueryParameters = @{@" eqpKey" :@" eqpValue" };
@@ -914,7 +914,7 @@ - (void)testAcquireTokenInteractive_whenMultipleCloudsSetToYes_shouldSendInstanc
914
914
XCTestExpectation *expectation = [self expectationWithDescription: @" acquireToken" ];
915
915
916
916
MSALWebviewParameters *webviewParameters = [[MSALWebviewParameters alloc ] initWithAuthPresentationViewController: [self .class sharedViewControllerStub ]];
917
- __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakeb2cscopes " ]
917
+ __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakescopes " ]
918
918
webviewParameters: webviewParameters];
919
919
parameters.promptType = MSALPromptTypeDefault;
920
920
parameters.webviewParameters .webviewType = MSALWebviewTypeWKWebView;
@@ -1013,7 +1013,7 @@ - (void)testAcquireTokenInteractive_whenCapabilitiesSet_shouldSendCapabilitiesTo
1013
1013
XCTestExpectation *expectation = [self expectationWithDescription: @" acquireToken" ];
1014
1014
1015
1015
MSALWebviewParameters *webviewParameters = [[MSALWebviewParameters alloc ] initWithAuthPresentationViewController: [self .class sharedViewControllerStub ]];
1016
- __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakeb2cscopes " ]
1016
+ __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakescopes " ]
1017
1017
webviewParameters: webviewParameters];
1018
1018
parameters.promptType = MSALPromptTypeDefault;
1019
1019
parameters.extraQueryParameters = @{@" eqpKey" :@" eqpValue" };
@@ -1115,7 +1115,7 @@ - (void)testAcquireTokenInteractive_whenClaimsIsPassedAndCapabilitiesSet_shouldS
1115
1115
XCTestExpectation *expectation = [self expectationWithDescription: @" acquireToken" ];
1116
1116
1117
1117
MSALWebviewParameters *webviewParameters = [[MSALWebviewParameters alloc ] initWithAuthPresentationViewController: [self .class sharedViewControllerStub ]];
1118
- __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakeb2cscopes " ]
1118
+ __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakescopes " ]
1119
1119
webviewParameters: webviewParameters];
1120
1120
parameters.webviewParameters .webviewType = MSALWebviewTypeWKWebView;
1121
1121
parameters.promptType = MSALPromptTypeDefault;
@@ -1218,7 +1218,7 @@ - (void)testAcquireTokenInteractive_whenClaimsIsPassedAndLoginHintNotNil_shouldS
1218
1218
XCTestExpectation *expectation = [self expectationWithDescription: @" acquireToken" ];
1219
1219
1220
1220
MSALWebviewParameters *webviewParameters = [[MSALWebviewParameters alloc ] initWithAuthPresentationViewController: [self .class sharedViewControllerStub ]];
1221
- __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakeb2cscopes " ]
1221
+ __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakescopes " ]
1222
1222
webviewParameters: webviewParameters];
1223
1223
parameters.webviewParameters .webviewType = MSALWebviewTypeWKWebView;
1224
1224
parameters.
loginHint =
@" [email protected] " ;
@@ -1327,7 +1327,7 @@ - (void)testAcquireTokenInteractive_whenInstanceAware_shouldReturnCloudAuthority
1327
1327
__block MSALResult *result = nil ;
1328
1328
1329
1329
MSALWebviewParameters *webviewParameters = [[MSALWebviewParameters alloc ] initWithAuthPresentationViewController: [self .class sharedViewControllerStub ]];
1330
- __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakeb2cscopes " ]
1330
+ __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakescopes " ]
1331
1331
webviewParameters: webviewParameters];
1332
1332
parameters.webviewParameters .webviewType = MSALWebviewTypeWKWebView;
1333
1333
parameters.promptType = MSALPromptTypeDefault;
@@ -1817,7 +1817,7 @@ - (void)testAcquireTokenInteractive_whenInsufficientScopesReturned_shouldReturnN
1817
1817
__block MSALResult *result = nil ;
1818
1818
1819
1819
MSALWebviewParameters *webviewParameters = [[MSALWebviewParameters alloc ] initWithAuthPresentationViewController: [self .class sharedViewControllerStub ]];
1820
- __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakeb2cscopes " ]
1820
+ __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakescope3 " , @" fakescope4 " , @" fakescope1 " ]
1821
1821
webviewParameters: webviewParameters];
1822
1822
parameters.webviewParameters .webviewType = MSALWebviewTypeWKWebView;
1823
1823
parameters.promptType = MSALPromptTypeDefault;
@@ -2963,7 +2963,7 @@ - (void)testAcquireTokenInteractive_whenAccountMismatch_shouldReturnAccountMisma
2963
2963
tenantProfiles: nil ];
2964
2964
2965
2965
MSALWebviewParameters *webviewParameters = [[MSALWebviewParameters alloc ] initWithAuthPresentationViewController: [self .class sharedViewControllerStub ]];
2966
- __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakeb2cscopes " ]
2966
+ __auto_type parameters = [[MSALInteractiveTokenParameters alloc ] initWithScopes: @[@" fakescope " ]
2967
2967
webviewParameters: webviewParameters];
2968
2968
parameters.webviewParameters .webviewType = MSALWebviewTypeWKWebView;
2969
2969
parameters.promptType = MSALPromptTypeDefault;
0 commit comments