summaryrefslogtreecommitdiffstats
path: root/commands/server_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/server_test.go')
-rw-r--r--commands/server_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/server_test.go b/commands/server_test.go
index 55d687bcc..d41d630cb 100644
--- a/commands/server_test.go
+++ b/commands/server_test.go
@@ -44,11 +44,11 @@ func TestFixURL(t *testing.T) {
for i, test := range tests {
viper.Reset()
- BaseURL = test.CLIBaseURL
+ baseURL = test.CLIBaseURL
viper.Set("BaseURL", test.CfgBaseURL)
serverAppend = test.AppendPort
serverPort = test.Port
- result, err := fixURL(BaseURL)
+ result, err := fixURL(baseURL)
if err != nil {
t.Errorf("Test #%d %s: unexpected error %s", i, test.TestName, err)
}