smtp_configure_test.go: clean SMTP_PORT each test

This commit is contained in:
Adhityaa 2018-06-13 00:33:42 +05:30
parent 425312034f
commit 877a9bf09f

View File

@ -6,7 +6,7 @@ import (
)
func cleanSmtpVars() {
for _, env := range []string{"SMTP_USERNAME", "SMTP_PASSWORD", "SMTP_HOST", "SMTP_FROM_ADDRESS"} {
for _, env := range []string{"SMTP_USERNAME", "SMTP_PASSWORD", "SMTP_HOST", "SMTP_PORT", "SMTP_FROM_ADDRESS"} {
os.Setenv(env, "")
}
}