Mike Jolley
21d7dbc612
Merge branch 'master' into update/17252
2018-03-01 15:58:17 +00:00
Steve Grunwell
0766ed6ff7
Fix (or whitelist) coding standards violations in the test bootstrap file
2018-01-22 03:34:13 +00:00
Steve Grunwell
bb5417c102
require_once is a language construct, not a function, and thus doesn't require parentheses.
2018-01-22 03:24:52 +00:00
Mike Jolley
7f18e15ff6
Transactions break unit tests
2018-01-03 15:47:55 +00:00
Claudio Sanches
7043245cb5
Merge branch 'master' into feature/webhook-crud
2017-11-07 12:42:28 -02:00
Mike Jolley
cb61e9dd3d
WC_TAX_ROUNDING_MODE auto to support switching in tests
2017-11-06 21:25:02 +00:00
Claudio Sanches
0ac915d0e9
Removed legacy webhook unit tests
2017-08-17 12:07:15 -03:00
claudiulodro
29fa59a0b7
WC_Object_Query
2017-04-24 11:33:17 -07:00
Claudio Sanches
26091c4644
Fixxed compatibility with 4.7 in tests bootstrap
2017-01-23 15:37:26 -02:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Mike Jolley
49283e5576
uninstall_data replaced with constant.
2016-08-24 17:34:13 +01:00
Justin Shreve
ef2715b237
Merge pull request #11082 from woothemes/settings-api
...
Add REST API Endpoints for Settings
2016-07-26 14:22:42 -07:00
Justin Shreve
5bdf2fb9e4
Remove call to spy server
2016-07-26 13:58:22 -07:00
Justin Shreve
48e6be6dcf
Move WP-APIs test server code to a vendor directory, make sure it matches the version of the other vendor files.
2016-07-26 10:24:15 -07:00
Justin Shreve
12aa11d5be
Misc cleanup.
2016-07-26 10:24:15 -07:00
Justin Shreve
21b66f94ff
More setting location tests.
2016-07-26 10:24:15 -07:00
Justin Shreve
11a3c89a2f
Make /settings/locations work properly. Add skeleton for tests and add register_routes test.
2016-07-26 10:24:15 -07:00
Justin Shreve
671dc8168d
Add new file for creating new unit test files for testing WP-API based WC endpoints.
...
Add WP-API's test-spy-rest-server class to new vendor folder in our test framework.
Create a new unit test case class to extend of of. This can also be a future home for new asserts or methods related to the API tests.
2016-07-25 11:19:44 -07:00
Mike Jolley
17d11d76ce
Tests failing due to missing SERVER_NAME
2016-03-23 15:35:06 +00:00
Mike Jolley
2fec0f425a
Remove namespaces from tests for 5.2 support
2016-03-23 12:14:13 +00:00
Justin Shreve
97c0edf445
Start on tests for testing CRUD meta.
...
Includes Mock object for testing against the abstract WC_Data.
2016-03-14 11:12:47 -07:00
Justin Shreve
8f27a3b3af
Full set of tests for the payment token API
2016-03-01 11:49:40 -08:00
Mike Jolley
bdb8de7785
Zone unit tests
2016-01-08 14:53:24 +00:00
Mike Jolley
a33b9b9750
Unit tests for shipping zones
2016-01-08 13:56:01 +00:00
Mike Jolley
97d47fb576
Move zones to main settings
2016-01-05 11:23:15 +00:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Jeff Stieler
513e95838b
Use the same default WP test lib directory as the updated test installer script.
...
The previous version of WP-CLI’s install.sh didn’t take environmental variables into account.
2015-10-20 10:24:46 -06:00
Claudio Sanches
ac8f18a721
Fixed unit tests
...
@mikejolley
2015-07-08 23:40:29 -03:00
JeroenSormani
b95b22d144
Add wc_get_order() tests + Order helper class
2015-05-23 10:48:07 +02:00
Bryan Purcell
0213fcce85
Refactoring, resetting settings after test.
...
Testing multiple combinations of store default shipping methods, moving
helper methods to a unit test Helper Class.
2014-12-10 17:02:43 -06:00
Mike Jolley
dbcc8430e9
Installer tweaks + unit tests closes #6356
2014-11-25 17:09:24 +00:00
claudiosmweb
956f003175
Unit Tests: Created initial shipping tests and added shipping value for coupon tests
2014-10-30 17:58:19 -02:00
claudiosmweb
720ef008d7
Unit Tests: Created WC_Helper_Fee class and WC_Tests_Cart::test_cart_fee method
2014-10-30 16:08:33 -02:00
Barry Kooij
e2df8e9b87
Coupon helper.
2014-10-28 11:51:46 +01:00
Barry Kooij
da45bdac12
Unit Testing: Added a product helper class.
2014-10-22 00:26:04 +02:00
Max Rice
0fbba35c9d
Add factory for webhook unit tests
2014-09-05 14:34:51 -04:00
Max Rice
02adbfa110
Unit Tests: add mock session handler
2014-09-05 02:35:53 -04:00
Max Rice
0bd7d8990c
[ #3176 ] Refactor bootstrap
...
* Adjust load and install order
* Fix issue with stale capabilities after install
2014-09-01 16:11:48 -04:00
Max Rice
71def57a7d
[ #3176 ] Add unit test boostrap
2014-09-01 02:03:52 -04:00