mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
test(tenpayv3): 补充基于国密算法的客户端测试
This commit is contained in:
@@ -20,7 +20,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests
|
||||
},
|
||||
Reason = "FAKE_REASON"
|
||||
};
|
||||
var response = await TestClients.Instance.ExecuteCreateRefundDomesticRefundAsync(request);
|
||||
var response = await TestClients.InstanceUseRSA.ExecuteCreateRefundDomesticRefundAsync(request);
|
||||
|
||||
Assert.True(response.IsSuccessful());
|
||||
Assert.NotNull(response.OutRefundNumber);
|
||||
@@ -40,7 +40,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests
|
||||
{
|
||||
OutRefundNumber = "FAKE_OUTREFUNDNO"
|
||||
};
|
||||
var response = await TestClients.Instance.ExecuteGetRefundDomesticRefundByOutRefundNumberAsync(request);
|
||||
var response = await TestClients.InstanceUseRSA.ExecuteGetRefundDomesticRefundByOutRefundNumberAsync(request);
|
||||
|
||||
Assert.True(response.IsSuccessful());
|
||||
Assert.NotNull(response.RefundId);
|
||||
|
||||
Reference in New Issue
Block a user