Mike Jolley
|
f5c7164ae5
|
Added a test to confirm this issue is specific to the API
|
2017-11-08 12:16:22 +00:00 |
Mike Jolley
|
6f693d4d1a
|
Upgrade routine
|
2017-11-07 19:16:44 +00:00 |
Mike Jolley
|
cf448398cd
|
Update API
|
2017-11-07 19:08:06 +00:00 |
MounirHamani
|
9e3d566038
|
Update unit test to add new Belarusian currency BYN
|
2017-11-07 20:04:46 +01:00 |
Mike Jolley
|
db4e630600
|
Replace thumbnail names
|
2017-11-07 18:48:51 +00:00 |
MounirHamani
|
fc220a51a9
|
Update unit test for old Belarusian currency BYR
|
2017-11-07 18:50:01 +01:00 |
Claudio Sanches
|
7043245cb5
|
Merge branch 'master' into feature/webhook-crud
|
2017-11-07 12:42:28 -02:00 |
Mike Jolley
|
6701917e5a
|
Remove need for wc_get_core_supported_themes
|
2017-11-07 12:17:03 +00:00 |
Mike Jolley
|
2de438dbc5
|
constant
|
2017-11-06 21:30:00 +00:00 |
Mike Jolley
|
d62721dbb5
|
..and fix tests based on updated constant setting - taxes round down
|
2017-11-06 21:26:28 +00:00 |
Mike Jolley
|
7048d0769c
|
Restore tests
|
2017-11-06 21:18:12 +00:00 |
Mike Jolley
|
42fef1a51a
|
Float handling logic for scientific notation
|
2017-11-06 20:04:03 +00:00 |
Mike Jolley
|
466b8c8163
|
More tests with more decimals
|
2017-11-06 20:04:03 +00:00 |
Mike Jolley
|
fe72fdfbd2
|
Add test to show error happening
|
2017-11-06 20:04:03 +00:00 |
Jeremy Pry
|
86aaa66ec0
|
Ensure hooks are added during unit tests
|
2017-11-06 14:58:07 -05:00 |
claudiulodro
|
939c115ddb
|
Out of base unit tests
|
2017-11-06 19:41:27 +00:00 |
claudiulodro
|
0e40f619af
|
Out of base cart tests (need tweaking)
|
2017-11-06 19:41:27 +00:00 |
Joel Rowley
|
ca2ca5a5ca
|
Add unit test to demonstrate type conversion precision bug
|
2017-11-03 22:20:41 -04:00 |
Claudio Sanches
|
e1a4f6e159
|
Merge pull request #17470 from woocommerce/pr/16959
Added actions before calculations order totals and taxes and is_vat_excempt support
|
2017-10-31 12:21:08 -02:00 |
Mike Jolley
|
95cad5fae0
|
Added unit test
|
2017-10-31 13:51:06 +00:00 |
Mike Jolley
|
beecba5468
|
Update tests against formats
|
2017-10-31 12:36:54 +00:00 |
Mike Jolley
|
cb087a0755
|
fix tests and minify css
|
2017-10-31 12:26:59 +00:00 |
claudiulodro
|
f06ecee1c5
|
Fix order methods and add tests
|
2017-10-27 13:37:00 -07:00 |
Mike Jolley
|
f3d2b2f7f1
|
Merge pull request #17071 from woocommerce/add/formatting-unit-tests
Formatting functions tests
|
2017-10-27 15:14:14 +01:00 |
Claudio Sanches
|
2a4c16977c
|
Merge pull request #17331 from woocommerce/fix/17275-alt
Adjust item limiting discount code to work with multiple coupons
|
2017-10-25 20:19:13 -02:00 |
claudiulodro
|
e6a9a5f79b
|
Fix date query meta unset checking
|
2017-10-24 13:07:21 -07:00 |
Mike Jolley
|
8ca76e84cd
|
Add test for #17330
|
2017-10-24 17:53:51 +01:00 |
Rasmus Bengtsson
|
6d2d6c8211
|
Add unit tests to WC_Integrations class
|
2017-10-24 09:25:37 +02:00 |
Mike Jolley
|
18577b8e9b
|
Fix tests
|
2017-10-22 09:12:38 -07:00 |
Mike Jolley
|
1881b590d5
|
Test cases
|
2017-10-21 20:18:56 -07:00 |
Mike Jolley
|
5252d93465
|
Merge pull request #17154 from woocommerce/add/test-variation-totals
Update totals test to include a variation with parent tax class.
|
2017-10-12 15:34:59 +01:00 |
Gerhard Potgieter
|
8045596ed7
|
Add get_tax_class tests for WC_Product_Variation. Will ensure #17147 never happens again.
|
2017-10-12 14:46:28 +02:00 |
Gerhard Potgieter
|
9eee5afc2c
|
Be sure to add the new product for cleanup later
|
2017-10-12 13:33:56 +02:00 |
Gerhard Potgieter
|
91aa76a51b
|
Update totals test to include a variation with parent tax class.
|
2017-10-12 13:30:08 +02:00 |
Claudio Sanches
|
368d958be4
|
Merge branch 'master' into feature/webhook-crud
|
2017-10-10 16:13:37 -03:00 |
Claudio Sanches
|
c00fce3f94
|
Merge pull request #16490 from woocommerce/feature/16445
Webhooks CRUD and Data Store
|
2017-10-10 16:10:31 -03:00 |
Mike Jolley
|
6d7522d864
|
Merge pull request #17075 from woocommerce/fix/phpunit-excluded-files
Updated tests exclusion list
|
2017-10-09 19:46:34 +01:00 |
Claudio Sanches
|
9721a9aca0
|
Removed legacy tests
|
2017-10-06 10:39:20 -03:00 |
Mike Jolley
|
7d7907fc8e
|
Delete installing transient.
|
2017-10-05 18:11:25 +01:00 |
Mike Jolley
|
7cb7e3c864
|
Test should compare objects, not arrays
|
2017-10-05 17:37:18 +01:00 |
Claudio Sanches
|
18a47d79b1
|
Merge branch 'master' into add/formatting-unit-tests
|
2017-10-05 12:18:29 -03:00 |
Claudio Sanches
|
c0197c639e
|
Formatting functions unit tests
|
2017-10-05 11:20:52 -03:00 |
Claudio Sanches
|
0c423c6ef7
|
Account function Unit Tests
|
2017-10-04 16:43:41 -03:00 |
Mike Jolley
|
d1211f4e63
|
Added a test to ensure meta data gets returned in the order API
|
2017-10-04 15:57:06 +01:00 |
claudiulodro
|
a02bb98db9
|
Product tests and fee test refactor
|
2017-09-28 14:54:44 -07:00 |
claudiulodro
|
0a46405d80
|
Order Item Coupon tests
|
2017-09-28 13:45:02 -07:00 |
claudiulodro
|
694f7fdfd8
|
Order Item Fee tests
|
2017-09-28 13:37:01 -07:00 |
claudiulodro
|
f9a92fdc71
|
Order_Item_Meta tests
|
2017-09-28 11:40:33 -07:00 |
adnanmultidots
|
c72413d925
|
Removed unused variable
|
2017-09-22 15:27:21 +05:30 |
Mike Jolley
|
5151415eec
|
Merge branch 'discounts-class-fixes-and-tests'
|
2017-09-20 18:44:18 +01:00 |
Mike Jolley
|
21dfde842a
|
Revised coupon sort order to not rely on IDs which can differ between cart and tests
Also edited test to match
|
2017-09-20 18:41:48 +01:00 |
Mike Jolley
|
29107d24a9
|
Remove filters from tests and correct sums
|
2017-09-20 18:37:26 +01:00 |
claudiulodro
|
9d8e308a78
|
Make importer columns case-insensitive
|
2017-09-17 10:18:03 -07:00 |
Claudiu Lodromanean
|
f9120672bd
|
Merge pull request #16767 from hjoelr/bugfix-coupon-cache
Bugfix: coupon object cache not being cleared upon deletion
|
2017-09-17 09:45:45 -07:00 |
Joel Rowley
|
b24eb0b46a
|
Added more tests
|
2017-09-15 21:04:21 -04:00 |
Joel Rowley
|
b8b67cf471
|
Made state cleanup more explicit in case there were filters that need run on cleanup.
|
2017-09-15 21:00:56 -04:00 |
Joel Rowley
|
f2a06c1ef0
|
Made discount unit tests more robust using PHPunit's Data Provider and tearDown()
|
2017-09-15 21:00:56 -04:00 |
Mike Jolley
|
f9719c79eb
|
Merge pull request #16795 from hjoelr/bugfix/freeshipping-coupon
Bugfix: Resolve 'non-numeric value encountered' error in PHP 7.1 when freeshipping coupon used
|
2017-09-14 11:31:17 -07:00 |
Joel Rowley
|
458a6c87c7
|
Resolve 'non-numeric value encountered' error in PHP 7.1 when freeshipping coupon used
|
2017-09-12 21:33:43 -04:00 |
mitraval192
|
2ee59801c2
|
added secure link
|
2017-09-11 17:24:55 +05:30 |
Joel Rowley
|
521bde2fba
|
Bugfix: coupon object cache not being cleared upon deletion
|
2017-09-09 22:47:25 -04:00 |
claudiulodro
|
ccade24ce5
|
Only set some fields on new orders
|
2017-09-07 13:50:47 -07:00 |
Mike Jolley
|
891d29dede
|
Calling init manually causes issues.
|
2017-09-07 11:50:12 +01:00 |
Claudio Sanches
|
f6375b64d7
|
Removed old test
|
2017-09-06 20:25:41 -03:00 |
Claudio Sanches
|
d0f9b1061e
|
Unit tests
|
2017-09-05 16:52:20 -03:00 |
Mike Jolley
|
1e9e6c461f
|
Unit test for #16653
|
2017-08-31 11:42:19 +01:00 |
Claudio Sanches
|
6dc58b4f6a
|
Allow select visibility in product shortcodes
Ref #15979
|
2017-08-29 18:29:29 -03:00 |
Mike Jolley
|
7e76b87039
|
Merge pull request #16596 from woocommerce/fix/16594
Manual coupons support
|
2017-08-29 13:46:13 +01:00 |
Mike Jolley
|
fe847630b2
|
Tests when tax is not enabled
|
2017-08-29 12:38:35 +01:00 |
Mike Jolley
|
fb64e77f24
|
No tax tests
|
2017-08-29 12:32:02 +01:00 |
Mike Jolley
|
dc9c14d574
|
Ex tax tests
|
2017-08-29 12:17:18 +01:00 |
Claudio Sanches
|
acad44e3c9
|
Auto map legacy attributes to the new ones
|
2017-08-28 17:45:56 -03:00 |
Claudiu Lodromanean
|
c36a6811c5
|
Merge pull request #16600 from woocommerce/feature/15979
Introduces WC_Shortcode_Products class
|
2017-08-28 10:33:35 -07:00 |
Claudio Sanches
|
a97eb40c2c
|
Removed empty unit test
|
2017-08-25 20:29:35 -03:00 |
Claudio Sanches
|
32ea76f09f
|
Render product_attribute shortcode results with WC_Shortcode_Products
|
2017-08-25 19:07:10 -03:00 |
Claudio Sanches
|
ddeea547b1
|
Use WC_Shortcode_Products inside featured_products shortcode
|
2017-08-25 18:42:02 -03:00 |
Claudio Sanches
|
72df581c6f
|
Use WC_Shortcode_Products inside top_rated_products shortcode
|
2017-08-25 15:55:34 -03:00 |
Mike Jolley
|
97390eaf6e
|
Tests
|
2017-08-25 18:21:29 +01:00 |
Mike Jolley
|
be4ae42a59
|
Tests
|
2017-08-25 16:15:32 +01:00 |
Claudio Sanches
|
c0da59d75a
|
Use WC_Shortcode_Products inside best_selling_products shortcode
|
2017-08-25 11:46:47 -03:00 |
Claudio Sanches
|
366686c34a
|
Fixed unit tests for PHP 5.2 and 5.3
|
2017-08-25 11:01:25 -03:00 |
Claudio Sanches
|
3dabdda480
|
Apply WC_Shortcode_Products class into sale_products shortcode
|
2017-08-25 11:00:48 -03:00 |
Claudio Sanches
|
0cea847c63
|
Renamed $loop_name to $type
|
2017-08-24 22:22:42 -03:00 |
Claudio Sanches
|
d7bea55aae
|
Use WC_Shortcode_Products to render product shortcode results
|
2017-08-24 22:16:42 -03:00 |
Claudio Sanches
|
013da90f51
|
Included unit test for recent_products shortcode
|
2017-08-24 21:38:42 -03:00 |
Claudio Sanches
|
461066d2b1
|
Allow query products by category on products shortcode
|
2017-08-24 21:24:05 -03:00 |
Claudio Sanches
|
429aecd400
|
Allow set loop name
|
2017-08-24 20:20:14 -03:00 |
Claudio Sanches
|
57379938b5
|
WC_Shortcode_Products unit tests
|
2017-08-24 20:12:12 -03:00 |
Josh Smith
|
49c7449e8b
|
Merge remote-tracking branch 'upstream/master'
|
2017-08-23 22:41:04 +00:00 |
Mike Jolley
|
4c2c051773
|
Merge pull request #16575 from woocommerce/fix/arraysubsettest
Harden + fix plugin updates tests
|
2017-08-23 11:02:06 +01:00 |
Mike Jolley
|
22813663d7
|
Merge pull request #16569 from woocommerce/update/fees-api-class
WC_Cart_fees and negative fee calculations
|
2017-08-23 10:59:19 +01:00 |
Josh Smith
|
d2d4489c68
|
[#12517] Add messages for unit test assertions in tests with multiple assertions
|
2017-08-23 03:23:25 +00:00 |
Josh Smith
|
868a0e0e84
|
Merge remote-tracking branch 'upstream/master'
|
2017-08-23 02:33:01 +00:00 |
claudiulodro
|
b8af7164db
|
Harden + fix plugin updates tests
|
2017-08-22 15:03:54 -07:00 |
claudiulodro
|
577e8f0e2b
|
Formatting
|
2017-08-22 14:08:26 -07:00 |
claudiulodro
|
1215da6355
|
WC_Cart_Fees tests
|
2017-08-22 14:06:33 -07:00 |
claudiulodro
|
e83758fe38
|
Cart fee tests
|
2017-08-22 13:26:55 -07:00 |
Claudio Sanches
|
7ad0dd55f9
|
Allow import 'menu_order'
|
2017-08-22 17:22:39 -03:00 |
Claudio Sanches
|
0b3811bd11
|
Change Position key from 'position' to 'menu_order'
|
2017-08-22 16:46:09 -03:00 |
Claudio Sanches
|
af23ad42d7
|
Included "position" (menu_order) to exported products
|
2017-08-22 16:33:19 -03:00 |
Mike Jolley
|
aaf4c4b134
|
fix tests
|
2017-08-22 13:24:29 +01:00 |
Mike Jolley
|
d68291b3ac
|
Merge pull request #16086 from woocommerce/improvement/versions
Extensions version check.
|
2017-08-21 18:18:04 +01:00 |
Mike Jolley
|
1d38a92638
|
Fix test
|
2017-08-21 12:38:14 +01:00 |
Josh Smith
|
413444c616
|
Merge remote-tracking branch 'upstream/master'
|
2017-08-20 04:09:17 +00:00 |
Claudiu Lodromanean
|
b0f190fa1d
|
Merge pull request #16517 from woocommerce/integrate-cart-sessions-class
Integrate cart sessions, getters and setters
|
2017-08-18 08:41:57 -07:00 |
Mike Jolley
|
1c8ad67a9e
|
Fix tests and tax merges
|
2017-08-18 15:05:01 +01:00 |
Mike Jolley
|
b854c1775c
|
Tests
|
2017-08-18 13:53:22 +01:00 |
Mike Jolley
|
e99471c0cd
|
Removed manual discounts code
|
2017-08-18 10:36:10 +01:00 |
Claudio Sanches
|
b86e78b53e
|
Webhook CRUD Unit tests
|
2017-08-17 18:36:53 -03:00 |
Claudio Sanches
|
fad774267c
|
Merge branch 'master' into feature/16445
|
2017-08-17 13:32:47 -03:00 |
Claudio Sanches
|
e31da15959
|
Improve test_wc_load_webhooks() checking when returns false
|
2017-08-17 12:32:30 -03:00 |
Claudio Sanches
|
8c120da100
|
Test webhook functions
|
2017-08-17 12:29:34 -03:00 |
Claudio Sanches
|
0ac915d0e9
|
Removed legacy webhook unit tests
|
2017-08-17 12:07:15 -03:00 |
Mike Jolley
|
cd15e18e68
|
Fix failing test
|
2017-08-17 15:45:26 +01:00 |
claudiulodro
|
ae80d12d80
|
Merge master
|
2017-08-14 11:12:09 -07:00 |
Mike Jolley
|
33be0b5741
|
Remove todos
|
2017-08-14 16:44:59 +01:00 |
Claudio Sanches
|
b8b9ae41f0
|
Fixed importer unit tests
|
2017-08-11 21:46:51 -03:00 |
claudiulodro
|
6fa0e7a8f5
|
Update test
|
2017-08-11 11:27:11 -07:00 |
Josh Smith
|
ae8a797961
|
[#12517] Use ISO 8601 time format to convert timestamps to WC_DateTime for PHP 5.2 compat
|
2017-08-11 04:50:44 +00:00 |
Josh Smith
|
115d19ca30
|
[#12517] Adding Unit Tests for WC_Customer_Download_Log and new download log tracking
|
2017-08-11 04:35:18 +00:00 |
claudiulodro
|
591b71ecbc
|
Add some tests
|
2017-08-10 14:37:40 -07:00 |
claudiulodro
|
3618ef1725
|
Handle couple todos
|
2017-08-10 13:37:05 -07:00 |
Mike Jolley
|
23660b9c68
|
test
|
2017-08-10 11:46:00 +01:00 |
Mike Jolley
|
06381f28bd
|
Edit items rather than recreate
|
2017-08-10 11:38:09 +01:00 |
claudiulodro
|
a2b208d5b8
|
Include failing test
|
2017-08-09 15:00:13 -07:00 |
Mike Jolley
|
140771e759
|
Merge branch 'master' into improvement/versions
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/helper-rtl.css
# assets/css/helper.css
# assets/css/twenty-seventeen-rtl.css
# assets/css/twenty-seventeen.css
# assets/css/wc-setup-rtl.css
# assets/css/wc-setup.css
|
2017-08-09 10:08:06 +01:00 |
claudiulodro
|
e89bef3d52
|
Update tests to handle related plugins
|
2017-08-08 10:31:06 -07:00 |
Mike Jolley
|
e9c3ebebdc
|
Merge branch 'master' into feature/discounts-class
# Conflicts:
# includes/abstracts/abstract-wc-data.php
# woocommerce.php
|
2017-08-08 15:49:59 +01:00 |
Mike Jolley
|
3778918a0a
|
Merge branch 'master' into pr/14751
# Conflicts:
# includes/class-wc-structured-data.php
|
2017-08-08 15:28:31 +01:00 |
Mike Jolley
|
ce93599b5c
|
Test correction
|
2017-08-08 09:30:11 +01:00 |
Mike Jolley
|
f7c4cf82d8
|
Fix subtotal unit tests
|
2017-08-08 09:24:03 +01:00 |
claudiulodro
|
c8a7ac8940
|
Unit tests
|
2017-08-07 14:31:58 -07:00 |
Claudiu Lodromanean
|
dd094088b0
|
Merge pull request #16336 from woocommerce/fix/16241
Only return tax classes if product is taxable.
|
2017-08-07 10:02:02 -07:00 |
Mike Jolley
|
7a829036c2
|
Fix tests
|
2017-08-07 17:49:46 +01:00 |
Mike Jolley
|
5e2ce54530
|
update tests
|
2017-08-07 17:19:19 +01:00 |
claudiulodro
|
ce25737026
|
Remove test for method that doesnt exist any more
|
2017-08-02 13:37:27 -07:00 |
claudiulodro
|
9a1eaab449
|
Add test for 16305
|
2017-08-02 11:41:52 -07:00 |
claudiulodro
|
80708255ee
|
Fix inc tax price calculation
|
2017-08-02 11:07:33 -07:00 |
claudiulodro
|
e1fad0d7eb
|
Bring up to date with master
|
2017-07-28 14:27:19 -07:00 |
claudiulodro
|
e335724c50
|
Finalize product query
|
2017-07-28 11:59:44 -07:00 |
claudiulodro
|
a721ab064e
|
Update WC_Discount tests
|
2017-07-28 09:59:24 -07:00 |
Mike Jolley
|
c16df62b54
|
Fix tests and bootstrap
|
2017-07-28 17:43:08 +01:00 |
claudiulodro
|
e67ae14739
|
Tests are working again!
|
2017-07-28 08:53:23 -07:00 |
Mike Jolley
|
14717d4ebb
|
fix call to apply_coupon_fixed_cart_remainder
|
2017-07-28 16:33:02 +01:00 |
Mike Jolley
|
c7cb46a524
|
Fix array shift usage
|
2017-07-28 16:31:11 +01:00 |
Mike Jolley
|
9170b61a1c
|
fix in cents logic direction.
|
2017-07-28 16:17:57 +01:00 |
Mike Jolley
|
e23e55bb27
|
Methods for getting specific totals and discounts whilst keeping storage in a single array
|
2017-07-28 15:35:41 +01:00 |
Mike Jolley
|
51fbb1aec3
|
set_items_from_cart
|
2017-07-28 13:02:39 +01:00 |
claudiulodro
|
b56b87c97b
|
Good progress on wc_discount and manual discount handling
|
2017-07-27 14:08:38 -07:00 |
claudiulodro
|
409320482a
|
Get everything working again
|
2017-07-27 10:37:20 -07:00 |