Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Mike Jolley
49283e5576
uninstall_data replaced with constant.
2016-08-24 17:34:13 +01:00
Mike Jolley
cfe28c9b25
Made WC_Logger pluggable via wc_get_logger function.
...
Closes #11474
2016-08-08 13:59:23 +01:00
Fredrik Forsmo
9d07cf59b1
Use long array syntax instead of short array syntax
2016-08-01 18:08:42 +02:00
Fredrik Forsmo
88d8140110
Add tests for `wc_site_is_https`
...
Add callback url to `wc_site_is_https` test
2016-08-01 14:31:54 +02:00
Manos Psychogyiopoulos
17c6108832
ensure WC_ROUNDING_PRECISION is defined and use it as a low precision boundary in wc_get_rounding_precision()
2016-07-21 12:14:12 +03:00
Claudio Sanches
7778583340
Fixed wrong number of decimal precision, closes #11368
2016-07-11 17:26:54 +02:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Claudio Sanches
1727d043a0
Tests for wc_get_shipping_method_count()
2016-05-25 18:29:38 -03:00
Claudio Sanches
63b39e7a74
Fixed tests for WC_Tests_Install::test_in_plugin_update_message
2016-05-10 14:47:38 -03:00
Claudio Sanches
cfedab0d74
Added Bitcoin/BTC currency
...
@mikejolley
2016-04-18 20:28:04 -03:00
Claudio Sanches
71aa29d144
Added new 109 currencies
...
@mikejolley
2016-04-18 20:21:14 -03:00
Claudio Sanches
b99fbe560a
Fixed tests for currencies
2016-04-05 15:31:15 -05:00
Mike Jolley
2fec0f425a
Remove namespaces from tests for 5.2 support
2016-03-23 12:14:13 +00:00
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