lib/db: Fix ineffassign lint issue

This commit is contained in:
Jakob Borg
2016-11-24 12:08:44 +01:00
parent 2898552f4b
commit 3cde608eda
2 changed files with 4 additions and 1 deletions

View File

@@ -507,6 +507,9 @@ func TestCSRFRequired(t *testing.T) {
cfg := new(mockedConfig)
cfg.gui.APIKey = testAPIKey
baseURL, err := startHTTP(cfg)
if err != nil {
t.Fatal("Unexpected error from getting base URL:", err)
}
cli := &http.Client{
Timeout: time.Second,