test w/ auth

master
breel 2020-08-08 10:19:02 -06:00
parent bf00a2e82a
commit c9156f397c
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ func testREST(t *testing.T) (*REST, func(r *http.Request), func()) {
os.Setenv("AUTH", "true")
os.Args = os.Args[:1]
os.Args = os.Args[:1]
config.New()
rest, err := NewREST(storage.NewRateLimitedGraph(""))
if err != nil {
t.Fatal(err)