File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,12 @@ public class AuthErrorHandlerTest
4040 AuthErrorCode . UidAlreadyExists ,
4141 } ,
4242 new object [ ]
43+ {
44+ "EMAIL_EXISTS" ,
45+ ErrorCode . AlreadyExists ,
46+ AuthErrorCode . EmailAlreadyExists ,
47+ } ,
48+ new object [ ]
4349 {
4450 "PHONE_NUMBER_EXISTS" ,
4551 ErrorCode . AlreadyExists ,
Original file line number Diff line number Diff line change @@ -49,6 +49,13 @@ internal sealed class AuthErrorHandler
4949 AuthErrorCode . UidAlreadyExists ,
5050 "The user with the provided uid already exists" )
5151 } ,
52+ {
53+ "EMAIL_EXISTS" ,
54+ new ErrorInfo (
55+ ErrorCode . AlreadyExists ,
56+ AuthErrorCode . EmailAlreadyExists ,
57+ "The user with the provided email already exists" )
58+ } ,
5259 {
5360 "PHONE_NUMBER_EXISTS" ,
5461 new ErrorInfo (
You can’t perform that action at this time.
0 commit comments