From 1df933c3c018d7f324fbed60518c763a4d1a1aca Mon Sep 17 00:00:00 2001 From: Adhityaa Date: Thu, 7 Jun 2018 23:17:23 +0530 Subject: [PATCH] config_test.go: use COMMENTO_ prefix --- api/config_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/config_test.go b/api/config_test.go index 66279cc..ae0d477 100644 --- a/api/config_test.go +++ b/api/config_test.go @@ -6,7 +6,7 @@ import ( ) func TestParseConfigBasics(t *testing.T) { - os.Setenv("ORIGIN", "https://commento.io") + os.Setenv("COMMENTO_ORIGIN", "https://commento.io") if err := parseConfig(); err != nil { t.Errorf("unexpected error when parsing config: %v", err) @@ -19,7 +19,7 @@ func TestParseConfigBasics(t *testing.T) { return } - os.Setenv("PORT", "1886") + os.Setenv("COMMENTO_PORT", "1886") if err := parseConfig(); err != nil { t.Errorf("unexpected error when parsing config: %v", err)