mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-04-05 17:37:54 +08:00
25 lines
860 B
C#
25 lines
860 B
C#
using System;
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests
|
|
{
|
|
class TestClients
|
|
{
|
|
static TestClients()
|
|
{
|
|
GlobalCertificateManager = new Settings.InMemoryCertificateManager();
|
|
Instance = new WechatTenpayClient(new WechatTenpayClientOptions()
|
|
{
|
|
MerchantId = TestConfigs.WechatMerchantId,
|
|
MerchantV3Secret = TestConfigs.WechatMerchantSecret,
|
|
MerchantCertSerialNumber = TestConfigs.WechatMerchantCertSerialNumber,
|
|
MerchantCertPrivateKey = TestConfigs.WechatMerchantCertPrivateKey,
|
|
CertificateManager = GlobalCertificateManager
|
|
});
|
|
}
|
|
|
|
public static readonly Settings.CertificateManager GlobalCertificateManager;
|
|
|
|
public static readonly WechatTenpayClient Instance;
|
|
}
|
|
}
|