aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example/Auth/Tests/FIRUserTests.m
diff options
context:
space:
mode:
authorGravatar Xiangtian Dai <xiangtian@google.com>2017-09-12 13:49:05 -0700
committerGravatar GitHub <noreply@github.com>2017-09-12 13:49:05 -0700
commitc8ea66eecfb256925e457d14b64bc08984da4387 (patch)
treea5c01d7f36c447111092ec80cbde68cfdb7fca07 /Example/Auth/Tests/FIRUserTests.m
parente8cf906d21501513f53666a34d4c4eb3e95bef6e (diff)
Implements web view for presenting Auth web content on iOS 7 and 8. (#253)
Also (hopefully) fixes thread safety issues in presenting Auth web content.
Diffstat (limited to 'Example/Auth/Tests/FIRUserTests.m')
-rw-r--r--Example/Auth/Tests/FIRUserTests.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Example/Auth/Tests/FIRUserTests.m b/Example/Auth/Tests/FIRUserTests.m
index 64051a3..a0a2644 100644
--- a/Example/Auth/Tests/FIRUserTests.m
+++ b/Example/Auth/Tests/FIRUserTests.m
@@ -1302,6 +1302,7 @@ static const NSTimeInterval kExpectationTimeout = 1;
completion:^(FIRAuthDataResult *_Nullable
linkAuthResult,
NSError *_Nullable error) {
+ XCTAssertTrue([NSThread isMainThread]);
XCTAssertNil(linkAuthResult);
XCTAssertEqual(error.code, FIRAuthErrorCodeTooManyRequests);
[expectation fulfill];