Fixed tests for get_woocommerce_currencies()
This commit is contained in:
parent
f3b6870837
commit
a7028e7734
|
@ -31,51 +31,53 @@ class Core_Functions extends \WC_Unit_Test_Case {
|
||||||
'ARS' => __( 'Argentine Peso', 'woocommerce' ),
|
'ARS' => __( 'Argentine Peso', 'woocommerce' ),
|
||||||
'AUD' => __( 'Australian Dollars', 'woocommerce' ),
|
'AUD' => __( 'Australian Dollars', 'woocommerce' ),
|
||||||
'BDT' => __( 'Bangladeshi Taka', 'woocommerce' ),
|
'BDT' => __( 'Bangladeshi Taka', 'woocommerce' ),
|
||||||
'BRL' => __( 'Brazilian Real', 'woocommerce' ),
|
|
||||||
'BGN' => __( 'Bulgarian Lev', 'woocommerce' ),
|
'BGN' => __( 'Bulgarian Lev', 'woocommerce' ),
|
||||||
|
'BRL' => __( 'Brazilian Real', 'woocommerce' ),
|
||||||
'CAD' => __( 'Canadian Dollars', 'woocommerce' ),
|
'CAD' => __( 'Canadian Dollars', 'woocommerce' ),
|
||||||
|
'CHF' => __( 'Swiss Franc', 'woocommerce' ),
|
||||||
'CLP' => __( 'Chilean Peso', 'woocommerce' ),
|
'CLP' => __( 'Chilean Peso', 'woocommerce' ),
|
||||||
'CNY' => __( 'Chinese Yuan', 'woocommerce' ),
|
'CNY' => __( 'Chinese Yuan', 'woocommerce' ),
|
||||||
'COP' => __( 'Colombian Peso', 'woocommerce' ),
|
'COP' => __( 'Colombian Peso', 'woocommerce' ),
|
||||||
'CZK' => __( 'Czech Koruna', 'woocommerce' ),
|
'CZK' => __( 'Czech Koruna', 'woocommerce' ),
|
||||||
'DKK' => __( 'Danish Krone', 'woocommerce' ),
|
'DKK' => __( 'Danish Krone', 'woocommerce' ),
|
||||||
'DOP' => __( 'Dominican Peso', 'woocommerce' ),
|
'DOP' => __( 'Dominican Peso', 'woocommerce' ),
|
||||||
|
'EGP' => __( 'Egyptian Pound', 'woocommerce' ),
|
||||||
'EUR' => __( 'Euros', 'woocommerce' ),
|
'EUR' => __( 'Euros', 'woocommerce' ),
|
||||||
|
'GBP' => __( 'Pounds Sterling', 'woocommerce' ),
|
||||||
'HKD' => __( 'Hong Kong Dollar', 'woocommerce' ),
|
'HKD' => __( 'Hong Kong Dollar', 'woocommerce' ),
|
||||||
'HRK' => __( 'Croatia kuna', 'woocommerce' ),
|
'HRK' => __( 'Croatia kuna', 'woocommerce' ),
|
||||||
'HUF' => __( 'Hungarian Forint', 'woocommerce' ),
|
'HUF' => __( 'Hungarian Forint', 'woocommerce' ),
|
||||||
'ISK' => __( 'Icelandic krona', 'woocommerce' ),
|
|
||||||
'IDR' => __( 'Indonesia Rupiah', 'woocommerce' ),
|
'IDR' => __( 'Indonesia Rupiah', 'woocommerce' ),
|
||||||
'INR' => __( 'Indian Rupee', 'woocommerce' ),
|
|
||||||
'NPR' => __( 'Nepali Rupee', 'woocommerce' ),
|
|
||||||
'ILS' => __( 'Israeli Shekel', 'woocommerce' ),
|
'ILS' => __( 'Israeli Shekel', 'woocommerce' ),
|
||||||
|
'INR' => __( 'Indian Rupee', 'woocommerce' ),
|
||||||
|
'ISK' => __( 'Icelandic krona', 'woocommerce' ),
|
||||||
'JPY' => __( 'Japanese Yen', 'woocommerce' ),
|
'JPY' => __( 'Japanese Yen', 'woocommerce' ),
|
||||||
'KIP' => __( 'Lao Kip', 'woocommerce' ),
|
'KIP' => __( 'Lao Kip', 'woocommerce' ),
|
||||||
'KRW' => __( 'South Korean Won', 'woocommerce' ),
|
'KRW' => __( 'South Korean Won', 'woocommerce' ),
|
||||||
'MYR' => __( 'Malaysian Ringgits', 'woocommerce' ),
|
|
||||||
'MXN' => __( 'Mexican Peso', 'woocommerce' ),
|
'MXN' => __( 'Mexican Peso', 'woocommerce' ),
|
||||||
|
'MYR' => __( 'Malaysian Ringgits', 'woocommerce' ),
|
||||||
'NGN' => __( 'Nigerian Naira', 'woocommerce' ),
|
'NGN' => __( 'Nigerian Naira', 'woocommerce' ),
|
||||||
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
'NOK' => __( 'Norwegian Krone', 'woocommerce' ),
|
||||||
|
'NPR' => __( 'Nepali Rupee', 'woocommerce' ),
|
||||||
'NZD' => __( 'New Zealand Dollar', 'woocommerce' ),
|
'NZD' => __( 'New Zealand Dollar', 'woocommerce' ),
|
||||||
'PYG' => __( 'Paraguayan Guaraní', 'woocommerce' ),
|
|
||||||
'PHP' => __( 'Philippine Pesos', 'woocommerce' ),
|
'PHP' => __( 'Philippine Pesos', 'woocommerce' ),
|
||||||
|
'PKR' => __( 'Pakistani Rupee', 'woocommerce' ),
|
||||||
'PLN' => __( 'Polish Zloty', 'woocommerce' ),
|
'PLN' => __( 'Polish Zloty', 'woocommerce' ),
|
||||||
'GBP' => __( 'Pounds Sterling', 'woocommerce' ),
|
'PYG' => __( 'Paraguayan Guaraní', 'woocommerce' ),
|
||||||
'RON' => __( 'Romanian Leu', 'woocommerce' ),
|
'RON' => __( 'Romanian Leu', 'woocommerce' ),
|
||||||
'RUB' => __( 'Russian Ruble', 'woocommerce' ),
|
'RUB' => __( 'Russian Ruble', 'woocommerce' ),
|
||||||
'SGD' => __( 'Singapore Dollar', 'woocommerce' ),
|
|
||||||
'ZAR' => __( 'South African rand', 'woocommerce' ),
|
|
||||||
'SEK' => __( 'Swedish Krona', 'woocommerce' ),
|
'SEK' => __( 'Swedish Krona', 'woocommerce' ),
|
||||||
'CHF' => __( 'Swiss Franc', 'woocommerce' ),
|
'SGD' => __( 'Singapore Dollar', 'woocommerce' ),
|
||||||
'TWD' => __( 'Taiwan New Dollars', 'woocommerce' ),
|
|
||||||
'THB' => __( 'Thai Baht', 'woocommerce' ),
|
'THB' => __( 'Thai Baht', 'woocommerce' ),
|
||||||
'TRY' => __( 'Turkish Lira', 'woocommerce' ),
|
'TRY' => __( 'Turkish Lira', 'woocommerce' ),
|
||||||
|
'TWD' => __( 'Taiwan New Dollars', 'woocommerce' ),
|
||||||
'UAH' => __( 'Ukrainian Hryvnia', 'woocommerce' ),
|
'UAH' => __( 'Ukrainian Hryvnia', 'woocommerce' ),
|
||||||
'USD' => __( 'US Dollars', 'woocommerce' ),
|
'USD' => __( 'US Dollars', 'woocommerce' ),
|
||||||
'VND' => __( 'Vietnamese Dong', 'woocommerce' ),
|
'VND' => __( 'Vietnamese Dong', 'woocommerce' ),
|
||||||
'EGP' => __( 'Egyptian Pound', 'woocommerce' )
|
'ZAR' => __( 'South African rand', 'woocommerce' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
$this->assertEquals( $expected_currencies, get_woocommerce_currencies() );
|
$this->assertEquals( $expected_currencies, get_woocommerce_currencies() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue