test(tenpayv3): 补充基于国密算法的客户端测试

This commit is contained in:
fudiwei
2022-11-28 12:10:04 +08:00
parent c75c68bde7
commit 23346ceab1
21 changed files with 102 additions and 80 deletions

View File

@@ -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);