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
Rodrigo Primo
d862aaf29d
Quote code in the tests README.md file
...
Use triple backticks to quote code in the tests README.md file. Without this change all the parameters of the script `tests/bin/install.sh` that are surrounded by `<>` are not displayed.
2017-10-10 15:07:24 -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
claudiulodro
c604c0f824
Update chromedriver version and add singles tests
2017-10-06 13:10:50 -07: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
cd554c1bdf
Restored tests/bin/phpunit.sh
2017-10-05 13:14:56 -03: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
Mike Jolley
1b8a955353
tweak travis script
2017-09-26 16:27:27 +01:00
Mike Jolley
bf82c769e7
scrutinizer
2017-09-26 15:21:05 +01:00
Mike Jolley
49b3e7da78
Gen coverage only on latest stable
2017-09-26 14:38:50 +01:00
Mike Jolley
212449f391
Only generate coverage on 7.x
2017-09-26 14:09:27 +01:00
Mike Jolley
be014346f1
Travis
2017-09-26 13:24:11 +01: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