mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
test: fix typo
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests
|
||||
{
|
||||
public class TestCase_ApiExecuteProfitSharingTests
|
||||
{
|
||||
[Fact(DisplayName = "测试用例:调用 API [POST] /profitsharing/receivers/add")]
|
||||
public async Task TestExecuteAddProfitSharingReceiver()
|
||||
{
|
||||
await TestClients.InitializeCertificateManagerAsync();
|
||||
|
||||
var request = new Models.AddProfitSharingReceiverRequest()
|
||||
{
|
||||
AppId = TestConfigs.WechatAppId,
|
||||
Account = TestConfigs.WechatOpenId,
|
||||
RelationType = "DISTRIBUTOR",
|
||||
Name = "NAME",
|
||||
Type = "PERSONAL_OPENID"
|
||||
};
|
||||
TestClients.Instance.EncryptRequestSensitiveProperty(request);
|
||||
var response = await TestClients.Instance.ExecuteAddProfitSharingReceiverAsync(request);
|
||||
|
||||
Assert.True(response.IsSuccessful());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user