From 877a9bf09fbf47b508a67cedfb402a102423432c Mon Sep 17 00:00:00 2001 From: Adhityaa Date: Wed, 13 Jun 2018 00:33:42 +0530 Subject: [PATCH] smtp_configure_test.go: clean SMTP_PORT each test --- api/smtp_configure_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/smtp_configure_test.go b/api/smtp_configure_test.go index e0dee5a..1b3125f 100644 --- a/api/smtp_configure_test.go +++ b/api/smtp_configure_test.go @@ -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, "") } }