mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
update the supported currencies based on the exchange rate data source
This commit is contained in:
@@ -128,7 +128,7 @@ func TestExchangeRatesApiLatestExchangeRateHandler_CentralBankOfHungaryDataSourc
|
|||||||
|
|
||||||
assert.Equal(t, "HUF", exchangeRateResponse.BaseCurrency)
|
assert.Equal(t, "HUF", exchangeRateResponse.BaseCurrency)
|
||||||
|
|
||||||
supportedCurrencyCodes := []string{"AUD", "BGN", "BRL", "CAD", "CHF", "CNY", "CZK", "DKK", "EUR",
|
supportedCurrencyCodes := []string{"AUD", "BRL", "CAD", "CHF", "CNY", "CZK", "DKK", "EUR",
|
||||||
"GBP", "HKD", "IDR", "ILS", "INR", "ISK", "JPY", "KRW", "MXN", "MYR", "NOK", "NZD",
|
"GBP", "HKD", "IDR", "ILS", "INR", "ISK", "JPY", "KRW", "MXN", "MYR", "NOK", "NZD",
|
||||||
"PHP", "PLN", "RON", "RSD", "RUB", "SEK", "SGD", "THB", "TRY", "UAH", "USD", "ZAR"}
|
"PHP", "PLN", "RON", "RSD", "RUB", "SEK", "SGD", "THB", "TRY", "UAH", "USD", "ZAR"}
|
||||||
|
|
||||||
@@ -218,7 +218,7 @@ func TestExchangeRatesApiLatestExchangeRateHandler_NationalBankOfRomaniaDataSour
|
|||||||
|
|
||||||
assert.Equal(t, "RON", exchangeRateResponse.BaseCurrency)
|
assert.Equal(t, "RON", exchangeRateResponse.BaseCurrency)
|
||||||
|
|
||||||
supportedCurrencyCodes := []string{"AED", "AUD", "BGN", "BRL", "CAD", "CHF", "CNY", "CZK", "DKK", "EGP",
|
supportedCurrencyCodes := []string{"AED", "AUD", "BRL", "CAD", "CHF", "CNY", "CZK", "DKK", "EGP",
|
||||||
"EUR", "GBP", "HKD", "HUF", "IDR", "ILS", "INR", "ISK", "JPY", "KRW", "MDL", "MXN", "MYR",
|
"EUR", "GBP", "HKD", "HUF", "IDR", "ILS", "INR", "ISK", "JPY", "KRW", "MDL", "MXN", "MYR",
|
||||||
"NOK", "NZD", "PHP", "PLN", "RSD", "RUB", "SEK", "SGD", "THB", "TRY", "UAH", "USD", "ZAR"}
|
"NOK", "NZD", "PHP", "PLN", "RSD", "RUB", "SEK", "SGD", "THB", "TRY", "UAH", "USD", "ZAR"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user