From 5bffc90f52f3fbb490f2c46efab67782dcd9a083 Mon Sep 17 00:00:00 2001 From: patrykdarmofalski Date: Wed, 14 May 2025 09:59:16 +0200 Subject: [PATCH] Add coinmate test for EUR and CZK --- BTCPayServer.Tests/ThirdPartyTests.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/BTCPayServer.Tests/ThirdPartyTests.cs b/BTCPayServer.Tests/ThirdPartyTests.cs index 1990f25a8..f88706fa2 100644 --- a/BTCPayServer.Tests/ThirdPartyTests.cs +++ b/BTCPayServer.Tests/ThirdPartyTests.cs @@ -220,6 +220,15 @@ namespace BTCPayServer.Tests e => e.CurrencyPair == new CurrencyPair("BTC", "NOK") && e.BidAsk.Bid > 1.0m); // 1 BTC will always be more than 1 NOK } + else if (name == "coinmate") + { + Assert.Contains(exchangeRates.ByExchange[name], + e => e.CurrencyPair == new CurrencyPair("BTC", "EUR") && + e.BidAsk.Bid > 1.0m); // 1 BTC will always be more than 1 EUR + Assert.Contains(exchangeRates.ByExchange[name], + e => e.CurrencyPair == new CurrencyPair("BTC", "CZK") && + e.BidAsk.Bid > 1.0m); // 1 BTC will always be more than 1 CZK + } else { if (name == "kraken")