wordpress-develop/tests/phpunit/tests/rest-api
Jonny Harris 43879c01f6 Tests: Re-enable failing REST API test for update_post_parent_caches().
Ensure that that attachment objects are not primed in cache so that test passes when object caching is enabled. 

Follow-up to [53506].

Props SergeyBiryukov.
See #55593.

git-svn-id: https://develop.svn.wordpress.org/trunk@53512 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-15 19:32:25 +00:00
..
json_schema_test_suite REST API: Add support for the oneOf and anyOf keywords. 2020-10-20 18:22:39 +00:00
application-passwords.php App Passwords: Improve validation and sanitization of the application name. 2021-01-27 19:03:42 +00:00
rest-application-passwords-controller.php Application Passwords: Show HTTPS required message without filtering when not enabled or not in local environment. 2021-12-21 02:43:18 +00:00
rest-attachments-controller.php REST API: Avoid duplicated query in post collections. 2022-06-14 12:40:29 +00:00
rest-autosaves-controller.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
rest-block-directory-controller.php REST API: Correct the schema for the wp/v2/block-directory/search endpoint. 2022-04-29 16:53:55 +00:00
rest-block-renderer-controller.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:57:08 +00:00
rest-block-type-controller.php Editor: Register 'lock' attribute for every block on the server 2022-04-26 09:48:20 +00:00
rest-blocks-controller.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
rest-categories-controller.php REST API: Add batch support for posts and terms controllers. 2021-11-09 01:57:48 +00:00
rest-comments-controller.php Build/Test Tools: Reduce the use of unnecessary randomness in tests. 2021-12-19 13:42:37 +00:00
rest-controller.php REST API: Add text-field and textarea-field as available schema formats for string sanitization. 2021-10-15 02:03:38 +00:00
rest-global-styles-controller.php Block Editor: Backport the Global Styles Variations endpoint. 2022-04-05 09:50:13 +00:00
rest-pages-controller.php Build/Test Tools: Reduce the use of unnecessary randomness in tests. 2021-12-19 13:42:37 +00:00
rest-pattern-directory-controller.php REST API: Fixes /wp/v2/pattern-directory/patterns endpoint response for slug parameter. 2022-05-02 13:58:48 +00:00
rest-plugins-controller.php Build/Test Tools: Mock remote request for unknown plugin in WP_REST_Plugins_Controller::create_item(). 2021-11-11 16:58:27 +00:00
rest-post-meta-fields.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:57:08 +00:00
rest-post-statuses-controller.php Tests: Use more appropriate assertions in various tests. 2021-07-07 10:32:56 +00:00
rest-post-types-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:15:10 +00:00
rest-posts-controller.php Tests: Re-enable failing REST API test for update_post_parent_caches(). 2022-06-15 19:32:25 +00:00
rest-request-validation.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
rest-request.php Build/Test Tools: Fix warnings from stdClass::__invoke() callback mocks in REST API tests. 2021-11-23 18:55:23 +00:00
rest-revisions-controller.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
rest-schema-sanitization.php Tests: Replace expectException() for PHP native errors with calls to the dedicated PHPUnit 8.4+ methods. 2021-08-06 21:38:45 +00:00
rest-schema-setup.php Tests: Consistently pass the $force_delete parameter to wp_delete_attachment(). 2022-06-04 13:39:17 +00:00
rest-schema-validation.php Tests: Replace expectException() for PHP native errors with calls to the dedicated PHPUnit 8.4+ methods. 2021-08-06 21:38:45 +00:00
rest-search-controller.php REST API: Improve post cache priming in WP_REST_Post_Search_Handler class. 2022-06-10 15:45:45 +00:00
rest-server.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:12:25 +00:00
rest-settings-controller.php Update @wordpress packages 2022-01-04 05:37:25 +00:00
rest-sidebars-controller.php REST API: Allow sidebars and their widgets to be public. 2021-11-05 02:14:07 +00:00
rest-site-health-controller.php Build/Test Tools: Standardise the name, signature, and usage of the wpSetUpBeforeClass() method that's used in test classes. 2020-11-15 13:59:32 +00:00
rest-tags-controller.php REST API: Add batch support for posts and terms controllers. 2021-11-09 01:57:48 +00:00
rest-taxonomies-controller.php REST API: Introduce Menu management endpoints. 2021-11-09 18:58:59 +00:00
rest-term-meta-fields.php Tests: Fix tests failing due to assertContains() using strict checking. 2021-08-07 10:51:59 +00:00
rest-test-controller.php REST API: Add text-field and textarea-field as available schema formats for string sanitization. 2021-10-15 02:03:38 +00:00
rest-themes-controller.php REST API: Support . in theme directory names in WP_REST_Global_Styles_Controller, WP_REST_Templates_Controller, and WP_REST_Themes_Controller. 2021-12-21 04:12:06 +00:00
rest-users-controller.php Tests: Use assertSameSets() in some newly introduced tests. 2022-06-15 14:42:58 +00:00
rest-widget-types-controller.php REST API: Sort widget types by their id. 2021-10-02 21:43:26 +00:00
rest-widgets-controller.php HTTP API: Revert changeset [52244]. 2021-12-06 21:29:00 +00:00
wpRestBlockPatternCategoriesController.php REST API: Bring new endpoints for Block Patterns from Gutenberg plugin 2022-04-12 09:24:51 +00:00
wpRestBlockPatternsController.php REST API: Bring new endpoints for Block Patterns from Gutenberg plugin 2022-04-12 09:24:51 +00:00
wpRestEditSiteExportController.php REST API: Ensure that the export template endpoint returns a valid WP_Error object. 2021-12-07 18:36:29 +00:00
wpRestMenuItemsController.php Build/Test Tools: Correct the order and naming of expected and actual values in various tests. 2021-11-25 19:39:31 +00:00
wpRestMenuLocationsController.php REST API: Introduce Menu management endpoints. 2021-11-09 18:58:59 +00:00
wpRestMenusController.php REST API: Introduce Menu management endpoints. 2021-11-09 18:58:59 +00:00
wpRestTemplatesController.php Themes: Accept valid block themes. 2022-05-20 00:47:45 +00:00
wpRestUrlDetailsController.php REST API: Use global transients for URL details endpoint. 2021-12-03 11:34:55 +00:00