-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix email parse error in some client
- Loading branch information
Showing
3 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,11 @@ func TestGenerateCode(t *testing.T) { | |
} | ||
|
||
func TestSendEmail(t *testing.T) { | ||
testEmail := "[email protected]" | ||
testEmail := "[email protected]" | ||
code := GenerateVerifyCode() | ||
title := "发送邮件测试" | ||
SendEmail(testEmail, code, title) | ||
title := "发送邮件测试,请勿回复" | ||
content := InsertCode(code) | ||
SendEmail(testEmail, content, title) | ||
} | ||
|
||
func TestVerifyCode(t *testing.T) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters