@@ -34,7 +34,7 @@ func TestIsEmailUsed(t *testing.T) {
3434
3535 isExist , _ := IsEmailUsed ("" )
3636 assert .True (t , isExist )
37- isExist , _ = IsEmailUsed ("user1-1 @example.com" )
37+ isExist , _ = IsEmailUsed ("user1001 @example.com" )
3838 assert .True (t , isExist )
3939 isExist ,
_ = IsEmailUsed (
"[email protected] " )
4040 assert .False (t , isExist )
@@ -84,12 +84,12 @@ func TestDeleteEmailAddress(t *testing.T) {
8484 assert .NoError (t , DeleteEmailAddress (& EmailAddress {
8585 UID : int64 (1 ),
8686 ID : int64 (1 ),
87- Email : "user1-1 @example.com" ,
87+ Email : "user1001 @example.com" ,
8888 }))
8989
9090 assert .NoError (t , DeleteEmailAddress (& EmailAddress {
9191 UID : int64 (1 ),
92- Email : "user1-2 @example.com" ,
92+ Email : "user1002 @example.com" ,
9393 }))
9494
9595 // Email address does not exist
@@ -112,7 +112,7 @@ func TestDeleteEmailAddresses(t *testing.T) {
112112 }
113113 emails [1 ] = & EmailAddress {
114114 UID : int64 (2 ),
115- Email : "user2-1 @example.com" ,
115+ Email : "user2001 @example.com" ,
116116 }
117117 assert .NoError (t , DeleteEmailAddresses (emails ))
118118
@@ -132,7 +132,7 @@ func TestMakeEmailPrimary(t *testing.T) {
132132 assert .Equal (t , ErrEmailNotExist .Error (), err .Error ())
133133
134134 email = & EmailAddress {
135- Email : "user1-1 @example.com" ,
135+ Email : "user1001 @example.com" ,
136136 }
137137 err = MakeEmailPrimary (email )
138138 assert .Error (t , err )
@@ -161,7 +161,7 @@ func TestActivate(t *testing.T) {
161161 email := & EmailAddress {
162162 ID : int64 (1 ),
163163 UID : int64 (1 ),
164- Email : "user1-1 @example.com" ,
164+ Email : "user1001 @example.com" ,
165165 }
166166 assert .NoError (t , email .Activate ())
167167
0 commit comments