Skip to content

Commit 9c64f44

Browse files
committed
rename test funcs
1 parent ce2c072 commit 9c64f44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/postman_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func TestMobileSignUp_RealPhone(t *testing.T) {
5555
// Mobile login case 1: mobile used for the 1st time,
5656
// and user wants to create a new account with this mobile.
5757
// Simply generate a new phone works.
58-
func TestMobileSignUp_FakePhoneEmail(t *testing.T) {
58+
func TestMobileSignUp_FakeEmailFromPhone(t *testing.T) {
5959
v := ztsms.NewVerifier(faker.GenPhone(), null.String{})
6060

6161
NewRepo().MustSaveMobileVerifier(v)
@@ -68,7 +68,7 @@ func TestMobileSignUp_FakePhoneEmail(t *testing.T) {
6868
// mobile set.
6969
// Generates a new phone, and generates a new email account
7070
// but does not save it.
71-
func TestMobileSignUp_NewEmailAccount(t *testing.T) {
71+
func TestMobileSignUp_LinkNewEmail(t *testing.T) {
7272
a := NewPersona().EmailOnlyAccount()
7373

7474
v := ztsms.NewVerifier(faker.GenPhone(), null.String{})
@@ -82,7 +82,7 @@ func TestMobileSignUp_NewEmailAccount(t *testing.T) {
8282
// Mobile login case 3: mobile used for the 1st time,
8383
// and user wants to link to an existing email account.
8484
// Generate a new phone, and create an email-only account.
85-
func TestMobileLinkExistingEmail(t *testing.T) {
85+
func TestMobileSignUp_LinkExistingEmail(t *testing.T) {
8686
a := NewPersona().EmailOnlyAccount()
8787
v := ztsms.NewVerifier(faker.GenPhone(), null.String{})
8888

0 commit comments

Comments
 (0)