From 82d286dc6fef6103a9d9e11b4597ec7a0726f8fd Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 10 Jan 2019 14:00:26 +0900 Subject: [PATCH] Fix test --- BTCPayServer.Tests/UnitTest1.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BTCPayServer.Tests/UnitTest1.cs b/BTCPayServer.Tests/UnitTest1.cs index 53413b60f..7d8c93e39 100644 --- a/BTCPayServer.Tests/UnitTest1.cs +++ b/BTCPayServer.Tests/UnitTest1.cs @@ -1811,7 +1811,8 @@ donation: Assert.Equal("application/csv", paidresult.ContentType); Assert.Contains($",\"orderId\",\"{invoice.Id}\",", paidresult.Content); Assert.Contains($",\"OnChain\",\"BTC\",\"0.0991\",\"0.0001\",\"5000.0\"", paidresult.Content); - Assert.Contains($",\"USD\",\"5.00\",\"500.0\",\"\",\"Some ``, description\",\"new (paidPartial)\"", paidresult.Content); + Assert.Contains($",\"USD\",\"5.00", paidresult.Content); // Seems hacky but some plateform does not render this decimal the same + Assert.Contains($"0\",\"500.0\",\"\",\"Some ``, description\",\"new (paidPartial)\"", paidresult.Content); }); } }