From 6d6b9e2ba6b62fe83f87c32887ee33c129da4761 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sat, 10 Feb 2018 22:24:50 +0900 Subject: [PATCH] disable test not passing because of bitpay --- BTCPayServer.Tests/UnitTestPeusa.cs | 36 +++++++++++++++-------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/BTCPayServer.Tests/UnitTestPeusa.cs b/BTCPayServer.Tests/UnitTestPeusa.cs index 83bcf4358..cb9861d5f 100644 --- a/BTCPayServer.Tests/UnitTestPeusa.cs +++ b/BTCPayServer.Tests/UnitTestPeusa.cs @@ -13,25 +13,27 @@ namespace BTCPayServer.Tests { // Unit test that generates temorary checkout Bitpay page // https://forkbitpay.slack.com/archives/C7M093Z55/p1508293682000217 - [Fact] - public void BitpayCheckout() - { - var key = new Key(Encoders.Hex.DecodeData("7b70a06f35562873e3dcb46005ed0fe78e1991ad906e56adaaafa40ba861e056")); - var url = new Uri("https://test.bitpay.com/"); - var btcpay = new Bitpay(key, url); - var invoice = btcpay.CreateInvoice(new Invoice() - { - Price = 5.0, - Currency = "USD", - PosData = "posData", - OrderId = "cdfd8a5f-6928-4c3b-ba9b-ddf438029e73", - ItemDesc = "Hello from the otherside" - }, Facade.Merchant); + // Testnet of Bitpay down + //[Fact] + //public void BitpayCheckout() + //{ + // var key = new Key(Encoders.Hex.DecodeData("7b70a06f35562873e3dcb46005ed0fe78e1991ad906e56adaaafa40ba861e056")); + // var url = new Uri("https://test.bitpay.com/"); + // var btcpay = new Bitpay(key, url); + // var invoice = btcpay.CreateInvoice(new Invoice() + // { - // go to invoice.Url - Console.WriteLine(invoice.Url); - } + // Price = 5.0, + // Currency = "USD", + // PosData = "posData", + // OrderId = "cdfd8a5f-6928-4c3b-ba9b-ddf438029e73", + // ItemDesc = "Hello from the otherside" + // }, Facade.Merchant); + + // // go to invoice.Url + // Console.WriteLine(invoice.Url); + //} // Generating Extended public key to use on http://localhost:14142/stores/{storeId} [Fact]