diff --git a/test/api_test.go b/test/api_test.go index ca195b4..e63fc27 100644 --- a/test/api_test.go +++ b/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()) }