test w/ auth

master
breel 2020-08-08 10:18:49 -06:00
parent c145bd9daf
commit bf00a2e82a
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ func testREST(t *testing.T) (*REST, func(r *http.Request), func()) {
} }
os.Setenv("FILEROOT", d) os.Setenv("FILEROOT", d)
os.Setenv("DRIVER_TYPE", "map") os.Setenv("DRIVER_TYPE", "map")
os.Setenv("AUTH", "false") os.Setenv("AUTH", "true")
os.Args = os.Args[:1] os.Args = os.Args[:1]
os.Args = os.Args[:1] os.Args = os.Args[:1]
rest, err := NewREST(storage.NewRateLimitedGraph("")) rest, err := NewREST(storage.NewRateLimitedGraph(""))