diff options
author | Zsika Phillip <protocol86@users.noreply.github.com> | 2018-04-25 06:49:59 -0700 |
---|---|---|
committer | Paul Beusterien <paulbeusterien@google.com> | 2018-04-25 06:49:59 -0700 |
commit | 0ae7d902d724be67d77d5dab1ad698a6ab4e3dfc (patch) | |
tree | 6082b2e32e07fa94858a6582820b5d8e38baff8d /Example/Auth/Tests/FIRUserTests.m | |
parent | 260557691fae8ba34e262f480c632ab63b5133ee (diff) |
First pass of Auth breaking changes (#1123)
Diffstat (limited to 'Example/Auth/Tests/FIRUserTests.m')
-rw-r--r-- | Example/Auth/Tests/FIRUserTests.m | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Example/Auth/Tests/FIRUserTests.m b/Example/Auth/Tests/FIRUserTests.m index a27304c..7a6c165 100644 --- a/Example/Auth/Tests/FIRUserTests.m +++ b/Example/Auth/Tests/FIRUserTests.m @@ -2244,11 +2244,12 @@ static const NSTimeInterval kExpectationTimeout = 2; }); [self expectGetAccountInfoWithMockUserInfoResponse:mockUserInfoResponse]; [[FIRAuth auth] signOut:NULL]; - [[FIRAuth auth] signInWithEmail:kEmail password:kFakePassword completion:^(FIRUser *_Nullable user, - NSError *_Nullable error) { - XCTAssertNotNil(user); + [[FIRAuth auth] signInWithEmail:kEmail + password:kFakePassword + completion:^(FIRAuthDataResult *_Nullable result, NSError *_Nullable error) { + XCTAssertNotNil(result.user); XCTAssertNil(error); - completion(user); + completion(result.user); }]; } |