Skip to content

Commit e763e4f

Browse files
committed
Integrate Latest @ 201100220
Changes to auth/testapp ... - Expect linking with the same credential to error. CL: 201100220
1 parent 521a3a3 commit e763e4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

auth/testapp/src/common_main.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,8 @@ extern "C" int common_main(int argc, const char* argv[]) {
973973
Future<User*> link_future =
974974
anonymous_user->LinkWithCredential(user_cred);
975975
WaitForSignInFuture(link_future, "User::LinkWithCredential() again",
976-
kAuthErrorNone, auth);
976+
::firebase::auth::kAuthErrorProviderAlreadyLinked,
977+
auth);
977978
}
978979

979980
// Test User::LinkWithCredential(), linking with bad credential.

0 commit comments

Comments
 (0)