wordpress-develop/tests/phpunit/tests/rest-api
K. Adam White 746502eaa9 REST API: Issue doing_it_wrong if a taxonomy's specified rest_base is already in use by a different resource.
Props fgiannar, TimothyBlynJacobs, kingkool68, SergeyBiryukov.
Fixes #48401.



git-svn-id: https://develop.svn.wordpress.org/trunk@47037 602fd350-edb4-49c9-b593-d223f7449a82
2020-01-03 19:22:32 +00:00
..
rest-attachments-controller.php REST API: Speed up pagination unit tests by creating less fixtures and reusing them where possible. 2019-11-05 20:41:12 +00:00
rest-autosaves-controller.php Tests: Replace use of $this->server with rest_get_server() in test_registered_query_params(). 2018-12-17 01:24:36 +00:00
rest-block-renderer-controller.php REST API: Preserve unknown, respect null in server-side block rendering. 2018-12-17 17:59:44 +00:00
rest-blocks-controller.php REST API: Always include title.raw/content.raw for Blocks in context=view. 2018-12-17 17:21:05 +00:00
rest-categories-controller.php REST API: Speed up pagination unit tests by creating less fixtures and reusing them where possible. 2019-11-05 20:41:12 +00:00
rest-comments-controller.php REST API: Short-circuit comment controller permissions check if commented-upon post type does not exist. 2020-01-03 18:42:09 +00:00
rest-controller.php REST API: Support dot.nested hierarchical properties in _fields query parameter. 2019-09-19 14:04:51 +00:00
rest-pages-controller.php REST API: Speed up pagination unit tests by creating less fixtures and reusing them where possible. 2019-11-05 20:41:12 +00:00
rest-post-meta-fields.php REST API: Cast empty meta values to correct scalar types in REST response. 2019-10-21 19:08:34 +00:00
rest-post-statuses-controller.php Tests: Correct ::assertArrayHasKey() capitalization in [46252]. 2019-09-26 20:30:35 +00:00
rest-post-types-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-posts-controller.php REST API: Issue doing_it_wrong if a taxonomy's specified rest_base is already in use by a different resource. 2020-01-03 19:22:32 +00:00
rest-request-validation.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-request.php Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00
rest-revisions-controller.php Add @ticket annotations for [45812]. 2019-08-16 03:32:23 +00:00
rest-schema-sanitization.php REST API: Pass "null" as the post date property to reset post to initial "floating" date value. 2019-09-23 17:24:58 +00:00
rest-schema-setup.php Block Editor: Remove experimental Social Links blocks 2019-10-15 15:35:03 +00:00
rest-schema-validation.php REST API: Pass "null" as the post date property to reset post to initial "floating" date value. 2019-09-23 17:24:58 +00:00
rest-search-controller.php REST API: Permit embedding of the 'self' link relation in the /search endpoint. 2019-10-08 04:43:10 +00:00
rest-server.php REST API: Permit embedding of the 'self' link relation in the /search endpoint. 2019-10-08 04:43:10 +00:00
rest-settings-controller.php REST API: Remove permalink_structure from the REST API settings endpoint. 2019-01-08 02:50:05 +00:00
rest-tags-controller.php REST API: Speed up pagination unit tests by creating less fixtures and reusing them where possible. 2019-11-05 20:41:12 +00:00
rest-taxonomies-controller.php REST API: Add @ticket annotation to test from [45813]. 2019-08-15 23:08:31 +00:00
rest-term-meta-fields.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
rest-test-controller.php Docs: In various @return tags, list the expected type first, instead of WP_Error. 2019-11-11 02:41:15 +00:00
rest-themes-controller.php Themes: Introduce responsive embeds support. 2018-12-14 01:49:46 +00:00
rest-users-controller.php Tests: Replace most instances of wpmu_delete_blog() not specifically testing that function with wp_delete_site(). 2019-12-25 18:15:13 +00:00