wordpress-develop/tests/phpunit/tests/rest-api
Jb Audras 18aa343ec2 REST API: Add unit tests for the 404 template slug handler.
Props ockham, SergeyBiryukov, hellofromTonya, rachelbaker.
Fixes #54680.


git-svn-id: https://develop.svn.wordpress.org/trunk@52436 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-04 14:23:56 +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 Build/Test Tools: Reduce the use of unnecessary randomness in tests. 2021-12-19 13:42:37 +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 Build/Test Tools: Mock no results remote request in WP_REST_Block_Directory_Controller:: get_items(). 2021-11-12 13:45:05 +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 Build: Split packages and blocks to their webpack configs 2021-07-28 10:05:01 +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 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-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 Coding Standards: Use static closures when not using $this. 2021-08-26 12:57:08 +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 Build/Test Tools: Reduce the use of unnecessary randomness in tests. 2021-12-19 13:42:37 +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 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-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 Tests: Use more appropriate assertions in various tests. 2021-07-07 10:32:56 +00:00
rest-server.php Tests: Add an assertion to test the WP_REST_Server::add_site_logo_to_index() method. 2021-12-15 18:06:15 +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 Login and Registration: Fix failing test for "email already exists" registration error improvement. 2021-11-09 16:19:05 +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
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 REST API: Add unit tests for the 404 template slug handler. 2022-01-04 14:23:56 +00:00
wpRestUrlDetailsController.php REST API: Use global transients for URL details endpoint. 2021-12-03 11:34:55 +00:00