diff options
Diffstat (limited to 'Example/Auth/Tests/FIRUserTests.m')
-rw-r--r-- | Example/Auth/Tests/FIRUserTests.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Example/Auth/Tests/FIRUserTests.m b/Example/Auth/Tests/FIRUserTests.m index 8bb6786..957fd24 100644 --- a/Example/Auth/Tests/FIRUserTests.m +++ b/Example/Auth/Tests/FIRUserTests.m @@ -1151,8 +1151,8 @@ static const NSTimeInterval kExpectationTimeout = 2; XCTAssertEqualObjects(request.APIKey, kAPIKey); dispatch_async(FIRAuthGlobalWorkQueue(), ^() { - - callback(nil, [FIRAuthErrorUtils networkErrorWithUnderlyingError:[NSError new]]); + NSError *underlying = [NSError errorWithDomain:@"Test Error" code:1 userInfo:nil]; + callback(nil, [FIRAuthErrorUtils networkErrorWithUnderlyingError:underlying]); }); }); [user getIDTokenResultForcingRefresh:YES |