mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
smtp_configure_test.go: clean SMTP_PORT each test
This commit is contained in:
@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func cleanSmtpVars() {
|
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, "")
|
os.Setenv(env, "")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user