smtp_configure_test.go: clean SMTP_PORT each test
This commit is contained in:
parent
425312034f
commit
877a9bf09f
@ -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, "")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user