test w/ auth
parent
bf00a2e82a
commit
c9156f397c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue