添加测试文件

This commit is contained in:
varorbc
2017-11-22 17:04:57 +08:00
parent 7af1a7c244
commit 523ef64e3d
3 changed files with 8 additions and 2 deletions
@@ -18,4 +18,10 @@
<ProjectReference Include="..\..\src\ICanPay.Wechatpay\ICanPay.Wechatpay.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="acp_test_sign.pfx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
+2 -2
View File
@@ -19,11 +19,11 @@ namespace ICanPay.UnitTest
{
_output = output;
_merchant = new Unionpay.Merchant
_merchant = new Merchant
{
AppId = "777290058110048",
CertPwd = "000000",
CertPath = "E:\\Csharp2\\ICanPay\\test\\ICanPay.UnitTest\\acp_test_sign.pfx",
CertPath = Environment.CurrentDirectory + "\\acp_test_sign.pfx",
NotifyUrl = "http://localhost:61337/Notify",
FrontUrl = "http://localhost:61337/Notify"
};
Binary file not shown.