Commit Graph

73 Commits

Author SHA1 Message Date
Matty 53c0f6c712 Adds a test with incorrect values, to ensure the wc_format_country_state_string() function handles this as expected. 2016-02-16 11:05:32 +02:00
Matty 05b2d4597c Adds a unit test for wc_format_country_state_string(). 2016-02-16 09:31:29 +02:00
Mike Jolley fab8a871aa Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
jamez 5256cf47dc Canada Postal code validation
Added Postal Code validation for Canada (country-code=CA).  Also added
to the validation unit test for valid and invalid postal code examples.
2016-02-09 12:39:09 -05:00
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Shiva Poudel 27532a80ba Fix - Unit test for woocommerce currencies 2016-01-27 12:02:43 +05:45
Mike Jolley bdb8de7785 Zone unit tests 2016-01-08 14:53:24 +00:00
Shiva Poudel 4146558fd6 Updated the currency code for 'Lao Kip'
See: https://en.wikipedia.org/wiki/ISO_4217
2015-12-17 11:52:38 +05:45
Claudio Sanches 4f6c17a6a1 Fixed test for get_woocommerce_currencies() 2015-12-09 16:38:57 -02:00
Takashi Irie d88ba80f84 Edits for Twnety Sixteen 2015-11-23 11:55:50 +00:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Claudio Sanches a7028e7734 Fixed tests for get_woocommerce_currencies() 2015-10-28 16:24:17 -02:00
Akeda Bagus f3dfdd20da Assert log line format and its log message instead of log line equality.
Timestamp is not reliable to assert during the test.
2015-09-12 21:18:41 +07:00
Shiva Poudel f543430476 Unit Test class instance of Integrations 2015-07-20 16:55:58 +05:45
Claudio Sanches c13409150f Fixed tests for get_woocommerce_currencies()
@mikejolley
2015-06-29 15:13:42 -03:00
Justin Shreve 0a9d00bab6 Update the version number check for test_get_woocommerce_api_url 2015-06-19 13:42:10 +00:00
Nicola Mustone 0347a4005f added data providers 2015-04-14 15:34:35 +02:00
Nicola Mustone 50abebac89 tests WC_Validation 2015-04-08 17:56:02 +02:00
Nicola Mustone bc2bbf07c5 test wc_get_log_file_path 2015-04-08 17:55:54 +02:00
Nicola Mustone 8c52135c26 test wc_get_log_file_path 2015-04-08 17:55:40 +02:00
Nicola Mustone 1f8e512b01 tests WC_Logger 2015-04-08 17:55:19 +02:00
Nicola Mustone c72e44401a begin tests WC_Validation 2015-03-06 18:27:18 +01:00
Barry Kooij d6b970a61d Namespace the Unit Tests 2015-03-06 16:32:40 +01:00