test w/ auth
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user