From c18005c9868ab74305db18bf9e1431d1dfc56d80 Mon Sep 17 00:00:00 2001 From: yedf2 <120050102@qq.com> Date: Mon, 16 May 2022 21:09:30 +0800 Subject: [PATCH] fix TestVersion --- test/api_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }