Jeff Stieler
|
cca2a0ff5e
|
Reuse WC Admin Setting’s save_fields() instead of duplicating code for sanitizing saved values.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
83d252b6d3
|
Remove namespace from Settings API unit test file.
This fails builds on PHP 5.2.x.
|
2016-07-26 10:24:15 -07:00 |
Jeff Stieler
|
95990e32ca
|
Fix unit tests.
|
2016-07-26 10:24:15 -07:00 |
Justin Shreve
|
3de423b5c2
|
Wrap up settings api
|
2016-07-26 10:24:15 -07:00 |
Justin Shreve
|
5de870bb08
|
Wrap up settings endpoints for updating, finish tests.
|
2016-07-26 10:24:15 -07:00 |
Justin Shreve
|
46028e0151
|
Refactor down to two concepts - settings groups and settings. Fix up tests, and start working on returning actual settings and their values.
|
2016-07-26 10:24:15 -07:00 |
Justin Shreve
|
8fee6bd3b9
|
Add a test for settings groups, make sure any bad keys/values are filtered out, update docs.
|
2016-07-26 10:24:15 -07:00 |
Justin Shreve
|
12aa11d5be
|
Misc cleanup.
|
2016-07-26 10:24:15 -07:00 |
Justin Shreve
|
19d3bc4737
|
Add a permissions check to the locations endpoints and fill out the tests for them.
|
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
|
5ee4b5d4dd
|
Add the ability to get data on a single location.
|
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
|
a9bb988873
|
Initial /settings API controller and /settings/locations route. Loads the WP-API and registers our namespace temporarily until WP-API is loaded by WC core.
|
2016-07-26 10:24:15 -07:00 |
Claudio Sanches
|
5a1388ee97
|
[TESTS] For REST API functions
|
2016-06-13 22:58:45 -03: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 |
Barry Kooij
|
d6b970a61d
|
Namespace the Unit Tests
|
2015-03-06 16:32:40 +01:00 |
Max Rice
|
0fbba35c9d
|
Add factory for webhook unit tests
|
2014-09-05 14:34:51 -04:00 |
Max Rice
|
17a1918991
|
[#3176] Add webhooks REST API endpoint tests
100% coverage :)
|
2014-09-01 02:04:49 -04:00 |