Mike Jolley
f0049367ae
Use mb_ functions and add tests
2017-01-22 01:24:20 +00:00
Jon Surrell
b422de03ef
Add tests for wc_get_logger
...
When filter provided class doesn't implement
WC_Logger_Interface, test for wc_doing_it_wrong
and use WC_Logger
2017-01-14 18:45:51 +01:00
Claudio Sanches
9c27661dea
Synchronized with master
2017-01-12 17:53:15 -02:00
Jon Surrell
e8fd29520f
Un-deprecate wc_get_log_file_path
2017-01-12 20:39:39 +01:00
Mike Jolley
5ec8ef50e6
Correct case
2017-01-03 11:57:21 +00:00
Jon Surrell
5700043e6d
Deprecate wc_get_log_file_path
...
wc_get_log_file_path moves into `WC_Log_Handler_File` class as a static
method.
Update deprecations and version info.
2016-12-29 11:58:43 +01:00
Jon Surrell
23a45125e7
Add unit tests for wc_print_r()
...
Clean up some log logic ( `assertEquals( true ... )` becomse `assertTrue( ... )` ).
2016-12-29 11:58:43 +01:00
Jon Surrell
b94d029546
Improve test compatibility (PHP 5.2)
2016-12-29 11:58:43 +01:00
Jon Surrell
9ba616b2c1
Return single instance from wc_get_logger
...
Remove class include from wc_get_logger (should be autoloaded).
Add tests for wc_get_logger.
2016-12-29 11:58:43 +01:00
Mike Jolley
e5c18fd6e4
Fix currency check unit tests
2016-12-19 15:11:25 +00:00
Mike Jolley
a6a4650809
Fix theme test
2016-12-07 13:46:01 +00:00
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
Claudio Sanches
1727d043a0
Tests for wc_get_shipping_method_count()
2016-05-25 18:29: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
Shiva Poudel
27532a80ba
Fix - Unit test for woocommerce currencies
2016-01-27 12:02:43 +05:45
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
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
bc2bbf07c5
test wc_get_log_file_path
2015-04-08 17:55:54 +02:00
Barry Kooij
d6b970a61d
Namespace the Unit Tests
2015-03-06 16:32:40 +01:00