From 0038321781d5baf1a4e6f08a7d14c3c1f47faf32 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Mon, 4 May 2026 00:39:23 +0800 Subject: [PATCH] update the list of currencies supported by the Bank of Canada --- .../common_http_exchange_rates_data_provider_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/exchangerates/common_http_exchange_rates_data_provider_test.go b/pkg/exchangerates/common_http_exchange_rates_data_provider_test.go index 52224b72..84155310 100644 --- a/pkg/exchangerates/common_http_exchange_rates_data_provider_test.go +++ b/pkg/exchangerates/common_http_exchange_rates_data_provider_test.go @@ -24,7 +24,7 @@ func TestExchangeRatesApiLatestExchangeRateHandler_BankOfCanadaDataSource(t *tes assert.Equal(t, "CAD", exchangeRateResponse.BaseCurrency) supportedCurrencyCodes := []string{"AUD", "BRL", "CHF", "CNY", "EUR", "GBP", "HKD", "IDR", "INR", - "JPY", "KRW", "MXN", "MYR", "NOK", "NZD", "PEN", "RUB", "SAR", "SEK", "SGD", "THB", "TRY", "TWD", + "JPY", "KRW", "MXN", "MYR", "NOK", "NZD", "PEN", "PLN", "RUB", "SAR", "SEK", "SGD", "THB", "TRY", "TWD", "USD", "VND", "ZAR"} checkExchangeRatesHaveSpecifiedCurrencies(t, exchangeRateResponse.BaseCurrency, supportedCurrencyCodes, exchangeRateResponse.ExchangeRates)