Skip to content

Commit 152db72

Browse files
author
Swasti Gupta
committed
Update unit tests
1 parent 9357b57 commit 152db72

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

MSAL/test/unit/MSALPublicClientApplicationTests.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,6 @@ - (void)testAcquireTokenScopes_WithNilParentViewController_shouldReturnError
530530
XCTAssertTrue([obj isKindOfClass:[MSIDLocalInteractiveController class]]);
531531
completionBlock(nil, nil);
532532
}];
533-
534-
MSALGlobalConfig.brokerAvailability = MSALBrokeredAvailabilityNone;
535533

536534
MSALViewController *parentViewController = nil;
537535
MSALWebviewParameters *webParameters = [[MSALWebviewParameters alloc] initWithAuthPresentationViewController:parentViewController];
@@ -578,7 +576,6 @@ - (void)testAcquireTokenScopes_WithInvalidParentViewController_shouldReturnError
578576
static MSALViewController *controller;
579577

580578
#if TARGET_OS_IPHONE
581-
MSALGlobalConfig.brokerAvailability = MSALBrokeredAvailabilityNone;
582579
dispatch_once(&once, ^{
583580
controller = [UIViewController new];
584581
});
@@ -628,7 +625,6 @@ - (void)testAcquireTokenScopes_WithNilWebviewParameters_shouldReturnError
628625
completionBlock(nil, nil);
629626
}];
630627

631-
MSALGlobalConfig.brokerAvailability = MSALBrokeredAvailabilityNone;
632628
MSALWebviewParameters *webParameters = nil;
633629
MSALInteractiveTokenParameters *parameters = [[MSALInteractiveTokenParameters alloc] initWithScopes:@[@"fakescope"]
634630
webviewParameters:webParameters];

0 commit comments

Comments
 (0)