File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2470,7 +2470,7 @@ - (void)testAppOpenURL_AuthPresenterCanHandleURL {
2470
2470
// 'application:openURL:options:' is only available on iOS 9.0 or newer.
2471
2471
NSURL *url = [NSURL URLWithString: @" https://localhost" ];
2472
2472
2473
- [ OCMExpect ([self .mockAuthURLPresenter canHandleURL: url]) andReturnValue: @ (YES )] ;
2473
+ OCMExpect ([self .mockAuthURLPresenter canHandleURL: url]). andReturn (YES );
2474
2474
2475
2475
XCTAssertTrue ([self .fakeApplicationDelegate
2476
2476
application: [GULAppDelegateSwizzler sharedApplication ]
@@ -2484,7 +2484,7 @@ - (void)testAppOpenURL_AuthPresenterCanHandleURL {
2484
2484
- (void )testAppOpenURLWithSourceApplication_AuthPresenterCanHandleURL {
2485
2485
NSURL *url = [NSURL URLWithString: @" https://localhost" ];
2486
2486
2487
- [ OCMExpect ([self .mockAuthURLPresenter canHandleURL: url]) andReturnValue: @ (YES )] ;
2487
+ OCMExpect ([self .mockAuthURLPresenter canHandleURL: url]). andReturn (YES );
2488
2488
2489
2489
#pragma clang diagnostic push
2490
2490
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
You can’t perform that action at this time.
0 commit comments