test(wxapi): 适配新的模型测试

This commit is contained in:
Fu Diwei
2021-07-30 18:25:12 +08:00
parent 4c64e85686
commit ddfdd85f61
8 changed files with 78 additions and 1 deletions

View File

@@ -6,7 +6,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.UnitTests
{
static TestClients()
{
Instance = new WechatApiClient(TestConfigs.WechatAppId, TestConfigs.WechatAppSecret);
Instance = new WechatApiClient(new WechatApiClientOptions()
{
AppId = TestConfigs.WechatAppId,
AppSecret = TestConfigs.WechatAppSecret
});
}
public static readonly WechatApiClient Instance;