2021-05-10 15:30:00 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests
|
|
|
|
|
{
|
|
|
|
|
class TestClients
|
|
|
|
|
{
|
|
|
|
|
static TestClients()
|
|
|
|
|
{
|
2021-07-27 00:00:14 +08:00
|
|
|
|
GlobalCertificateManager = new Settings.InMemoryCertificateManager();
|
2021-05-10 15:30:00 +08:00
|
|
|
|
Instance = new WechatTenpayClient(new WechatTenpayClientOptions()
|
|
|
|
|
{
|
|
|
|
|
MerchantId = TestConfigs.WechatMerchantId,
|
|
|
|
|
MerchantV3Secret = TestConfigs.WechatMerchantSecret,
|
|
|
|
|
MerchantCertSerialNumber = TestConfigs.WechatMerchantCertSerialNumber,
|
2021-07-22 15:07:39 +08:00
|
|
|
|
MerchantCertPrivateKey = TestConfigs.WechatMerchantCertPrivateKey,
|
2021-07-27 00:00:14 +08:00
|
|
|
|
CertificateManager = GlobalCertificateManager
|
2021-05-10 15:30:00 +08:00
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-27 00:51:24 +08:00
|
|
|
|
public static readonly Settings.CertificateManager GlobalCertificateManager;
|
2021-07-22 15:07:39 +08:00
|
|
|
|
|
2021-05-10 15:30:00 +08:00
|
|
|
|
public static readonly WechatTenpayClient Instance;
|
|
|
|
|
}
|
|
|
|
|
}
|