Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Nov 18, 2023
1 parent 4f81fde commit 435bbab
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions FirebaseAuth/Tests/Unit/ObjCAPITests.m
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,16 @@ - (void)FIRAuth_h:(FIRAuth *)auth
[auth updateCurrentUser:[auth currentUser]
completion:^(NSError *_Nullable error){
}];
[auth fetchSignInMethodsForEmail:@"[email protected]"
completion:^(NSArray<NSString *> *_Nullable c, NSError *_Nullable e){
}];
[auth signInWithEmail:@"[email protected]"
password:@"pw"
completion:^(FIRAuthDataResult *_Nullable authResult, NSError *_Nullable error){
}];
#if !TARGET_OS_WATCH
[auth signInWithEmail:@"[email protected]"
link:@"link"
completion:^(FIRAuthDataResult *_Nullable authResult, NSError *_Nullable error){
}];
#endif
#if TARGET_OS_IOS
[auth signInWithProvider:provider
UIDelegate:nil
Expand Down Expand Up @@ -166,13 +165,18 @@ - (void)FIRAuth_h:(FIRAuth *)auth
actionCodeSettings:settings
completion:^(NSError *_Nullable error){
}];
#if TARGET_OS_WATCH
[auth sendSignInLinkToEmail:@"email"
actionCodeSettings:settings
completion:^(NSError *_Nullable error){
}];
#endif
NSError *error;
[auth signOut:&error];
BOOL b = [auth isSignInWithEmailLink:@"email"];
BOOL b;
#if TARGET_OS_WATCH
b = [auth isSignInWithEmailLink:@"email"];
#endif
FIRAuthStateDidChangeListenerHandle handle =
[auth addAuthStateDidChangeListener:^(FIRAuth *_Nonnull auth, FIRUser *_Nullable user){
}];
Expand Down

0 comments on commit 435bbab

Please sign in to comment.