Skip to content

Commit

Permalink
apache#79 modify
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoYL123 committed Feb 29, 2020
1 parent e67ffd7 commit 081befd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/resource/v1/history_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ func TestHistoryResource_GetPollingData(t *testing.T) {
noopH := &handler2.NoopAuthHandler{}
chain, _ := handler.CreateChain(common.Provider, "testchain1", noopH.Name())
r.Header.Set("Content-Type", "application/json")
kvr := &v1.KVResource{}
c, err := restfultest.New(kvr, chain)
revision := &v1.HistoryResource{}
c, err := restfultest.New(revision, chain)
assert.NoError(t, err)
resp := httptest.NewRecorder()
c.ServeHTTP(resp, r)
Expand Down

0 comments on commit 081befd

Please sign in to comment.