fix(wxapi): 修复代码分析工具检测出的 API 定义问题

This commit is contained in:
Fu Diwei
2021-06-09 17:32:50 +08:00
parent f5adf00c8a
commit 05c1680789
43 changed files with 56 additions and 56 deletions

View File

@@ -57,14 +57,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.UnitTests
Assert.Equal(0, response.ErrorCode);
}
[Fact(DisplayName = "[GET] /cgi-bin/user")]
public async Task CgibinUserTest()
[Fact(DisplayName = "[GET] /cgi-bin/user/get")]
public async Task CgibinUserGetTest()
{
var request = new Models.CgibinUserRequest()
var request = new Models.CgibinUserGetRequest()
{
AccessToken = TestConfigs.WechatAccessToken
};
var response = await TestClients.Instance.ExecuteCgibinUserAsync(request);
var response = await TestClients.Instance.ExecuteCgibinUserGetAsync(request);
Assert.NotEmpty(response.Data.OpenIdList);
Assert.True(response.Total > 0);