diff --git a/accounts_test.go b/accounts_test.go index f68b31a..0dc8a82 100644 --- a/accounts_test.go +++ b/accounts_test.go @@ -9,10 +9,6 @@ import ( func TestGetBlocks(t *testing.T) { ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - if r.URL.Path != "/api/v1/blocks" { - http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound) - return - } fmt.Fprintln(w, `[{"Username": "foo"}, {"Username": "bar"}]`) return }))