Fix tests

This commit is contained in:
nicolas.dorier 2021-10-15 12:50:33 +09:00
parent 4230ba513f
commit 899bf98f45
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -363,6 +363,7 @@ namespace BTCPayServer.Tests
{
"https://www.btse.com", // not allowing to be hit from circleci
"https://www.bitpay.com", // not allowing to be hit from circleci
"https://support.bitpay.com",
"https://www.pnxbet.com" //has geo blocking
};
@ -3191,6 +3192,7 @@ namespace BTCPayServer.Tests
e => (e.CurrencyPair == new CurrencyPair("BTC", "USD") ||
e.CurrencyPair == new CurrencyPair("BTC", "EUR") ||
e.CurrencyPair == new CurrencyPair("BTC", "USDT") ||
e.CurrencyPair == new CurrencyPair("BTC", "USDC") ||
e.CurrencyPair == new CurrencyPair("BTC", "CAD"))
&& e.BidAsk.Bid > 1.0m // 1BTC will always be more than 1USD
);