Commit Graph

130 Commits

Author SHA1 Message Date
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
Mike Jolley 92310feb98 Merge pull request #9457 from woothemes/9251-wc-cart-functions
Moving some methods from WC_Cart to new functions
2015-10-30 13:12:55 +00:00
Claudio Sanches 0ff88deb98 Improved wc_coupons_enabled() name and description 2015-10-29 17:23:10 -02:00
Claudio Sanches a7028e7734 Fixed tests for get_woocommerce_currencies() 2015-10-28 16:24:17 -02:00
Claudio Sanches f3694cf17b Fixed tests for the new cart and coupons functions 2015-10-28 16:09:53 -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
Claudio Sanches c324c66acc Fixed tests for #8835 2015-08-14 15:39:20 -03:00
George Stephanis c938fa24da More missing esc_attr calls, :( 2015-08-05 15:17:52 -04:00
Shiva Poudel f543430476 Unit Test class instance of Integrations 2015-07-20 16:55:58 +05:45
Claudio Sanches 409dd81ab9 Fixed unit tests for WC_Cart::get_remove_url() 2015-07-14 12:02:32 -03:00
Claudio Sanches ac8f18a721 Fixed unit tests
@mikejolley
2015-07-08 23:40:29 -03:00
Mike Jolley ac6cc96d35 Customer needs to be defined 2015-07-07 12:51:05 +01:00
Mike Jolley 6773b74770 Unit test - customer_address is geolocated 2015-07-07 12:36:06 +01: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
Justin Shreve 651b65f28e Add a unit test for get_variation_id so we know we are getting back the IDs that we want 2015-06-09 13:02:02 +00:00
Claudio Sanches d5c5d5e394 Fixed unit tests for wc_get_price_thousand_separator() and wc_get_price_decimal_separator() 2015-06-01 11:03:19 -03:00
Claudio Sanches eff9b5ec18 Fixed test for wc_format_list_of_items 2015-05-28 10:28:49 -03:00
Claudio Sanches 9826273f8f Merge pull request #7910 from SiR-DanieL/unit-tests
More unit tests
2015-05-28 10:27:10 -03:00
Mike Jolley 5ef335b169 Merge pull request #8215 from JeroenSormani/order-tests
Order tests
2015-05-28 12:44:17 +01:00
Claudio Sanches ef8c3dd267 Fixed testes for wc_price() 2015-05-27 13:26:26 -03:00
JeroenSormani b95b22d144 Add wc_get_order() tests + Order helper class 2015-05-23 10:48:07 +02:00
Claudio Sanches 8a9ab7ffea Fixed get_woocommerce_api_url() for the new API versions numbers and
fixed the tests

@mikejolley
2015-05-05 09:01:34 -03:00
Mike Jolley 5786f89b3c Update unit test for c37c1bd9fa 2015-05-01 15:28:17 +01:00
Nicola Mustone f41e101b3f test wc_processing_order_count, wc_orders_count 2015-04-14 16:47:04 +02:00
Nicola Mustone 839b5a4aa5 Tests for wc_format_list_of_items, wc_cart_totals_subtotal_html, wc_cart_totals_coupon_label 2015-04-14 16:37:10 +02:00
Nicola Mustone 0347a4005f added data providers 2015-04-14 15:34:35 +02:00
Mike Jolley 2ddd07b252 FIx fixed product discount 2015-04-10 10:55:40 +01:00
Nicola Mustone d4ff494a3f test wc_get_price_decimals, wc_get_price_decimal_separator, wc_get_price_thousand_separator 2015-04-09 17:35:35 +02:00
Nicola Mustone 58f86eddf9 test wc_sanitize_tooltip 2015-04-09 17:24:58 +02:00
Nicola Mustone bf1407a60d added filters to test_wc_placeholder_img 2015-04-09 17:14:59 +02:00
Nicola Mustone ce41820fbf test wc_placeholder_img 2015-04-09 17:10:00 +02:00
Nicola Mustone 68e36f625a test wc_delete_product_transients 2015-04-09 17:00:07 +02:00
Nicola Mustone b8850724d3 tests now check for empty arrays first 2015-04-09 16:56:45 +02:00
Nicola Mustone 5815b5f155 test wc_get_featured_product_ids 2015-04-09 16:50:28 +02:00
Nicola Mustone 51c4019c76 test wc_get_product_ids_on_sale 2015-04-09 16:43:18 +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
Barry Kooij 017c3b341e Merge pull request #7655 from SiR-DanieL/unit
Begin tests WC_Validation
2015-04-08 13:15:18 +02:00
Claudio Sanches b697a714a7 Fixed the testes for wc_get_weight() 2015-03-11 14:23:47 -03:00
Nicola Mustone c72e44401a begin tests WC_Validation 2015-03-06 18:27:18 +01:00
Barry Kooij f699f5102c Unit Tests: Fix Product\Functions tests 2015-03-06 16:59:19 +01:00
Barry Kooij 75e9f93891 Unit Test: Product_Simple fixes.
Related #7624
2015-03-06 16:55:11 +01:00
Barry Kooij d6b970a61d Namespace the Unit Tests 2015-03-06 16:32:40 +01:00
Nicola Mustone d20047430b more tests 2015-03-05 17:32:53 +01:00
Nicola Mustone eefdfac91d delete product if not empty 2015-03-05 17:32:45 +01:00
Nicola Mustone 1b941941a2 wrong tearDown 2015-03-04 18:25:29 +01:00