From fc5fd7e63b6cacbffc99eee37d551e513872b47d Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 07 三月 2025 10:39:03 +0800 Subject: [PATCH] 增加doHttp接口测试 --- src/test/java/com/iailab/sdk/demo/HttpClientDemoTest.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/test/java/com/iailab/sdk/demo/HttpClientDemoTest.java b/src/test/java/com/iailab/sdk/demo/HttpClientDemoTest.java index ea9a33d..cb7d2d4 100644 --- a/src/test/java/com/iailab/sdk/demo/HttpClientDemoTest.java +++ b/src/test/java/com/iailab/sdk/demo/HttpClientDemoTest.java @@ -38,4 +38,16 @@ public void refreshToken() throws Exception { httpClientDemo.refreshToken(); } + + @Test + public void testDoHttpPost() throws Exception { + // 准备参数 + httpClientDemo.doHttpPost(); + } + + @Test + public void testDoHttpGet() throws Exception { + // 准备参数 + httpClientDemo.doHttpGet(); + } } -- Gitblit v1.9.3