diff --git a/test/ICanPay.UnitTest/ICanPay.UnitTest.csproj b/test/ICanPay.UnitTest/ICanPay.UnitTest.csproj index 3c893b7..6a289b7 100644 --- a/test/ICanPay.UnitTest/ICanPay.UnitTest.csproj +++ b/test/ICanPay.UnitTest/ICanPay.UnitTest.csproj @@ -18,4 +18,10 @@ + + + PreserveNewest + + + diff --git a/test/ICanPay.UnitTest/UnionpayGatewayTest.cs b/test/ICanPay.UnitTest/UnionpayGatewayTest.cs index 2017217..5797901 100644 --- a/test/ICanPay.UnitTest/UnionpayGatewayTest.cs +++ b/test/ICanPay.UnitTest/UnionpayGatewayTest.cs @@ -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" }; diff --git a/test/ICanPay.UnitTest/acp_test_sign.pfx b/test/ICanPay.UnitTest/acp_test_sign.pfx new file mode 100644 index 0000000..7fe36c9 Binary files /dev/null and b/test/ICanPay.UnitTest/acp_test_sign.pfx differ