Browse Source

fix TestVersion

pull/288/head
yedf2 4 years ago
parent
commit
c18005c986
  1. 2
      test/api_test.go

2
test/api_test.go

@ -19,7 +19,7 @@ import (
)
func TestAPIVersion(t *testing.T) {
resp, err := dtmimp.RestyClient.R().Get(dtmutil.DefaultHTTPServer + "/query")
resp, err := dtmimp.RestyClient.R().Get(dtmutil.DefaultHTTPServer + "/version")
assert.Nil(t, err)
assert.Equal(t, 200, resp.StatusCode())
}

Loading…
Cancel
Save