claudiulodro
d1533261f5
Extra sanitizing around payment_method_title
2018-11-30 08:49:43 -08:00
Claudio Sanches
ac47cd6394
Test if coupon is invalid
2018-09-11 18:31:02 -03:00
Claudio Sanches
0d49421239
Fixed coding standards
2018-09-11 18:11:31 -03:00
Claudio Sanches
d4b1089150
Fixed unit tests
2018-09-11 18:11:11 -03:00
claudiulodro
00e9af285c
Fix shipping tests and clean up code
2018-08-27 13:14:32 -07:00
claudiulodro
2466728183
Set up unit tests for v3 api and v2 api
2018-08-24 08:49:37 -07:00
Peter Fabian
b5c420de99
Fixed milestone according to issue tag.
2018-06-07 15:36:27 +02:00
Peter Fabian
185675c69e
Added unit test to cover the orders/refund_id.
2018-06-07 14:58:53 +02:00
Rodrigo Primo
7d5f6d3746
Remove WC API unit tests cleanup code
...
WC unit tests don't need to remove data from the database before finishing. `WP_UnitTestCase` creates a transaction before each test starts and roll it back after it ends, so data is never actually written to the database. This simplifies the tests and makes them faster.
2018-05-04 11:45:30 -03:00
Rodrigo Primo
7ce69dfca2
PHPCS fixes
2018-05-04 11:42:45 -03:00
claudiulodro
09ef2195be
Manual set order tests
2017-12-22 11:35:52 -08:00
claudiulodro
1c8dd6acbb
Proposed fix for api coupon recalculating
2017-12-20 11:37:35 -08:00
Kelly Dwan
70455b79a3
Add failing tests to demonstrate problem adding & removing coupons
2017-12-19 16:46:26 -05:00
Claudio Sanches
f0b6e3fc33
Test removing fee_lines from order in REST API
2017-11-21 16:07:03 -02:00
Mike Jolley
facdc49fad
Total should be a string
2017-11-16 19:47:34 +00:00
Mike Jolley
7cb7e3c864
Test should compare objects, not arrays
2017-10-05 17:37:18 +01: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
Akeda Bagus
53807185a8
Fixed typos.
...
These typos are catched by `misspell` program.
```
find . -type f | grep -v assets | grep -v dummy-data | grep -v i18n | grep -v node_modules | grep -v .git | grep -v apigen | xargs misspell -w
```
Some results were excluded because of 3rd party ownership and non-english
sentences.
2017-07-10 12:56:28 +07:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
2c59a6a86f
Fix test
2017-03-10 18:59:55 +00:00
Claudio Sanches
9ac1ebe748
Updated unit tests for REST API
2017-02-09 18:21:52 -02: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
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Claudio Sanches
5da47e532f
Fixed unit tests and standards
2016-08-19 01:51:25 -03:00
Mike Jolley
03110e755f
Unit tests
2016-08-18 17:24:44 +01:00
Mike Jolley
2fec0f425a
Remove namespaces from tests for 5.2 support
2016-03-23 12:14:13 +00:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02: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