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:
@@ -111,7 +111,7 @@ func TestExchangeRatesApiLatestExchangeRateHandler_NationalBankOfGeorgiaDataSour
|
|||||||
|
|
||||||
assert.Equal(t, "GEL", exchangeRateResponse.BaseCurrency)
|
assert.Equal(t, "GEL", exchangeRateResponse.BaseCurrency)
|
||||||
|
|
||||||
supportedCurrencyCodes := []string{"AED", "AMD", "AUD", "AZN", "BGN", "BRL", "BYN", "CAD", "CHF", "CNY", "CZK",
|
supportedCurrencyCodes := []string{"AED", "AMD", "AUD", "AZN", "BRL", "BYN", "CAD", "CHF", "CNY", "CZK",
|
||||||
"DKK", "EGP", "EUR", "GBP", "HKD", "HUF", "ILS", "INR", "IRR", "ISK", "JPY", "KGS", "KRW", "KWD", "KZT",
|
"DKK", "EGP", "EUR", "GBP", "HKD", "HUF", "ILS", "INR", "IRR", "ISK", "JPY", "KGS", "KRW", "KWD", "KZT",
|
||||||
"MDL", "NOK", "NZD", "PLN", "QAR", "RON", "RSD", "RUB", "SEK", "SGD", "TJS", "TMT", "TRY",
|
"MDL", "NOK", "NZD", "PLN", "QAR", "RON", "RSD", "RUB", "SEK", "SGD", "TJS", "TMT", "TRY",
|
||||||
"UAH", "USD", "UZS", "ZAR"}
|
"UAH", "USD", "UZS", "ZAR"}
|
||||||
@@ -267,7 +267,7 @@ func TestExchangeRatesApiLatestExchangeRateHandler_NationalBankOfUkraineDataSour
|
|||||||
assert.Equal(t, "UAH", exchangeRateResponse.BaseCurrency)
|
assert.Equal(t, "UAH", exchangeRateResponse.BaseCurrency)
|
||||||
|
|
||||||
supportedCurrencyCodes := []string{
|
supportedCurrencyCodes := []string{
|
||||||
"AED", "AUD", "AZN", "BDT", "BGN", "CAD", "CHF", "CNY", "CZK", "DKK",
|
"AED", "AUD", "AZN", "BDT", "CAD", "CHF", "CNY", "CZK", "DKK",
|
||||||
"DZD", "EGP", "EUR", "GBP", "GEL", "HKD", "HUF", "IDR", "ILS", "INR",
|
"DZD", "EGP", "EUR", "GBP", "GEL", "HKD", "HUF", "IDR", "ILS", "INR",
|
||||||
"JPY", "KRW", "KZT", "LBP", "MDL", "MXN", "MYR", "NOK", "NZD", "PLN",
|
"JPY", "KRW", "KZT", "LBP", "MDL", "MXN", "MYR", "NOK", "NZD", "PLN",
|
||||||
"RON", "RSD", "SAR", "SEK", "SGD", "THB", "TND", "TRY", "USD", "VND", "ZAR"}
|
"RON", "RSD", "SAR", "SEK", "SGD", "THB", "TND", "TRY", "USD", "VND", "ZAR"}
|
||||||
|
|||||||
Reference in New Issue
Block a user