wordpress-develop/tests/phpunit/tests/rest-api
Sergey Biryukov d2f6c417ff Docs: Improve documentation for block pattern properties.
Includes:
* Adding the `templateTypes` property to the `WP_Block_Patterns_Registry::register()` DocBlock.
* Adding `@since` notes for the `postTypes` and `templateTypes` properties to:
 * `_register_theme_block_patterns()`
 * `WP_Block_Patterns_Registry::register()`
* Bringing some consistency to the order of properties between:
 * `_register_theme_block_patterns()`
 * `WP_Block_Patterns_Registry::register()`
 * `WP_REST_Block_Patterns_Controller::prepare_item_for_response()`
 * `WP_REST_Block_Patterns_Controller::get_item_schema()`

Follow-up to [52943], [53152], [54263], [55168].

See #56792.

git-svn-id: https://develop.svn.wordpress.org/trunk@55173 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-01 15:00:19 +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 Docs: Align spelling with American English. 2022-10-21 21:10:29 +00:00
rest-attachments-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +00:00
rest-autosaves-controller.php Revisions: only create autosave when content changed. 2023-01-27 22:01:59 +00:00
rest-block-directory-controller.php Tests: Bring some consistency to mocking HTTP requests in unit tests. 2023-01-05 10:21:19 +00:00
rest-block-renderer-controller.php Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
rest-block-type-controller.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49:49 +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 Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +00:00
rest-comments-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +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: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +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 Editor: Adds pagination and ordering support to WP_REST_Pattern_Directory_Controller. 2023-01-24 16:52:42 +00:00
rest-plugins-controller.php Tests: Bring some consistency to mocking HTTP requests in unit tests. 2023-01-05 10:21:19 +00:00
rest-post-meta-fields.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49:49 +00:00
rest-post-statuses-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +00:00
rest-post-types-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +00:00
rest-posts-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +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: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +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: Bring some consistency to mocking HTTP requests in unit tests. 2023-01-05 10:21:19 +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 Coding Standards: Fix indentation of multi-line chained method call in test_json_error_with_status(). 2022-11-30 16:33:48 +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 Coding Standards: Fix spacing for incrementors and decrementors in various files. 2022-11-29 21:11:42 +00:00
rest-site-health-controller.php Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
rest-tags-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +00:00
rest-taxonomies-controller.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49:49 +00:00
rest-term-meta-fields.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49: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 Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
rest-users-controller.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php. 2023-01-20 00:19:09 +00:00
rest-widget-types-controller.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49:49 +00:00
rest-widgets-controller.php External Libraries: Update Requests library to version 2.0.0. 2022-12-15 21:30:26 +00:00
wpRestBlockPatternCategoriesController.php Editor: Allow block pattern categories to have descriptions. 2023-01-19 12:11:57 +00:00
wpRestBlockPatternsController.php Docs: Improve documentation for block pattern properties. 2023-02-01 15:00:19 +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 Coding Standards: Fix spacing for incrementors and decrementors in various files. 2022-11-29 21:11:42 +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 Tests: Replace some occurrences of assertEquals() with assertSame(). 2022-10-07 01:02:07 +00:00
wpRestUrlDetailsController.php Tests: Bring some consistency to mocking HTTP requests in unit tests. 2023-01-05 10:21:19 +00:00