woocommerce/tests/unit-tests
Rodrigo Primo dcc309d16b Add call to parent::setUp() and remove cleanup code
parent::setUp() should be called inside test setup methods to make sure database changes are automatically reverted after each test is executed. This way it is not necessary to manually remove inserted data.
2018-04-23 10:34:15 -03:00
..
account Rename class WC_Payment_Token_eCheck to WC_Payment_Token_ECheck 2018-03-07 14:50:21 -03:00
admin/reports Moved wc_selected to core functions. 2018-04-18 15:54:57 +02:00
api Fix test 2018-04-16 14:35:20 +01:00
attributes test 2017-12-08 11:35:26 +00:00
cart Unit test for oob rounding issue 2018-03-13 11:41:25 -07:00
core Increase precision from 4 to 6 2018-01-30 15:00:53 +00:00
countries Increase country unit test coverage 2017-06-07 14:31:32 -07:00
coupon Add a test 2018-02-22 15:06:53 -05:00
crud Added test 2018-03-01 12:12:26 +00:00
customer Fix the download log unit test, with the new constraint key introduced in #19330 the download log needs a valid download to save correctly. 2018-04-18 09:43:24 +02:00
discounts Fixed WC_Tests_Discounts::test_calculations 2017-11-16 17:08:45 -02:00
exporter Add call to parent::setUp() and remove cleanup code 2018-04-23 10:34:15 -03:00
formatting Tests 2018-01-12 14:20:39 +00:00
gateways Improve can_refund_order and add unit tests 2018-04-03 17:09:09 +01:00
geolocation GeoLite integration Unit Tests 2018-03-15 17:06:13 -03:00
importer Test setup methods should call parent setup method 2018-04-23 10:34:03 -03:00
integrations Add unit tests to WC_Integrations class 2017-10-24 09:25:37 +02:00
libraries Applied new WC_Background_Process class 2018-02-01 11:42:34 -02:00
log Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
order Merge branch 'master' into update/17252 2018-03-01 15:58:17 +00:00
order-items Add call to parent::setUp() and remove cleanup code 2018-04-23 10:34:15 -03:00
payment-tokens Rename class WC_Payment_Token_eCheck to WC_Payment_Token_ECheck 2018-03-07 14:50:21 -03:00
privacy Add call to parent::setUp() and remove cleanup code 2018-04-23 10:34:15 -03:00
product Tests 2018-02-28 13:33:24 +00:00
settings Fixed typos. 2017-07-10 12:56:28 +07:00
setup Add test verifying that the correct list of payment gateways is returned per country 2017-12-13 09:35:43 -05:00
shipping-zones Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
shortcodes Fix test and default 2018-03-19 13:05:43 +00:00
tax Increase precision from 4 to 6 2018-01-30 15:00:53 +00:00
templates Updated unit tests 2018-04-17 12:31:14 -03:00
totals Add call to parent::setUp() and remove cleanup code 2018-04-23 10:34:15 -03:00
util Moved wc_selected to core functions. 2018-04-18 15:54:57 +02:00
webhooks Webhook CRUD Unit tests 2017-08-17 18:36:53 -03:00
widgets Add more core-functions unit tests (#18190) 2017-12-18 11:58:40 -02:00