wordpress-develop/tests/phpunit/tests/rest-api
Jorge Costa 34ace2304b Editor: Add has_archive property to the post types REST endpoint.
Backports PHP changes in WordPress/gutenberg#42746 to the core. Adds a has_archive field to the post types endpoint.

Props mcsf, ntsekouras, oandregal.
See #56467.

git-svn-id: https://develop.svn.wordpress.org/trunk@54273 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-21 12:27:33 +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: Allow a Super Admin to set an application password on a site they're not a member of. 2022-08-11 18:22:59 +00:00
rest-attachments-controller.php Media: Revert WebP generation. 2022-09-19 22:51:53 +00:00
rest-autosaves-controller.php Autosave/REST API: Block autosaving from overwriting changes when locked from editing. 2022-09-11 22:33:29 +00:00
rest-block-directory-controller.php Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +00:00
rest-block-renderer-controller.php Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +00:00
rest-block-type-controller.php Blocks: Allow registering multiple items for all supported asset types 2022-09-14 10:50:26 +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 Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
rest-comments-controller.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
rest-controller.php Code Modernization: Explicitly declare all properties created in set_up() methods of various test classes. 2022-08-27 12:30:08 +00:00
rest-global-styles-controller.php Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +00:00
rest-pages-controller.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
rest-pattern-directory-controller.php Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +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 Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
rest-post-statuses-controller.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
rest-post-types-controller.php Editor: Add has_archive property to the post types REST endpoint. 2022-09-21 12:27:33 +00:00
rest-posts-controller.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +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 Code Modernization: Explicitly declare all properties created in set_up() methods of various test classes. 2022-08-27 12:30:08 +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 Editor: Adds template types, is_wp_suggestion, and fallback template content. 2022-09-20 21:19:10 +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: Add support for searching resources by id. 2022-09-11 21:10:31 +00:00
rest-server.php REST API: Add the missing site_icon_url to the index. 2022-09-06 14:41:08 +00:00
rest-settings-controller.php REST API: Add support for settings to specify their own additionalProperties. 2022-09-11 23:28:39 +00:00
rest-sidebars-controller.php Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +00:00
rest-site-health-controller.php Site Health: Introduce page cache check. 2022-08-31 22:44:04 +00:00
rest-tags-controller.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
rest-taxonomies-controller.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
rest-term-meta-fields.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +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 Themes: Introduces block-based template parts for Classic themes. 2022-09-15 12:18:30 +00:00
rest-users-controller.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
rest-widget-types-controller.php Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +00:00
rest-widgets-controller.php Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +00:00
wpRestBlockPatternCategoriesController.php Tests: Correctly use the factory method. 2022-09-06 22:03:10 +00:00
wpRestBlockPatternsController.php Tests: Correctly use the factory method. 2022-09-06 22:03:10 +00:00
wpRestEditSiteExportController.php Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +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 Tests: Explicitly mark empty REST API tests as not performing any assertions. 2022-09-01 22:54:19 +00:00
wpRestMenusController.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
wpRestTemplatesController.php Editor: Adds template types, is_wp_suggestion, and fallback template content. 2022-09-20 21:19:10 +00:00
wpRestUrlDetailsController.php Tests: Correct the @covers tag in a WP_REST_URL_Details_Controller test for registered route. 2022-09-01 23:11:34 +00:00