wordpress-develop/tests/phpunit/tests/rest-api
Sergey Biryukov 75bb139087 Tests: Correct post formats registration in WP_REST_Search_Controller tests.
When declaring theme support for the `post-formats` feature, an array of supported post formats needs to be specified.

Follow-up to [49344], [49354].

Props garrett-eclipse.
Fixes #51390.

git-svn-id: https://develop.svn.wordpress.org/trunk@49365 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-29 00:02:00 +00:00
..
json_schema_test_suite REST API: Add support for the oneOf and anyOf keywords. 2020-10-20 18:22:39 +00:00
rest-application-passwords-controller.php App Passwords: Support an app_id to uniquely identify instances of an app. 2020-10-22 15:04:23 +00:00
rest-attachments-controller.php REST API: Don't validate status if it hasn't changed. 2020-10-24 16:02:34 +00:00
rest-autosaves-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-block-directory-controller.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-block-renderer-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-block-type-controller.php Block Editor: Expose api_version in the block type and the REST endpoint. 2020-10-20 07:52:06 +00:00
rest-blocks-controller.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-categories-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-comments-controller.php REST API, XML-RPC: Synchronise empty comment content checks. 2020-10-24 22:44:38 +00:00
rest-controller.php REST API: Add support for the oneOf and anyOf keywords. 2020-10-20 18:22:39 +00:00
rest-pages-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-plugins-controller.php Tests: Replace a few more instances of assertEquals() with assertSame(). 2020-09-04 07:36:33 +00:00
rest-post-meta-fields.php REST API: Add support for the oneOf and anyOf keywords. 2020-10-20 18:22:39 +00:00
rest-post-statuses-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-post-types-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-posts-controller.php General: Remove noreferrer from wp_targeted_link_rel() and other uses. 2020-10-19 23:37:53 +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 REST API: Support a broader range of JSON media types. 2020-10-27 16:42:38 +00:00
rest-revisions-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-schema-sanitization.php REST API: Add support for the oneOf and anyOf keywords. 2020-10-20 18:22:39 +00:00
rest-schema-setup.php Site Health, App Passwords: Test if the Authorization header is populated correctly. 2020-10-27 18:30:03 +00:00
rest-schema-validation.php REST API: Add support for the oneOf and anyOf keywords. 2020-10-20 18:22:39 +00:00
rest-search-controller.php Tests: Correct post formats registration in WP_REST_Search_Controller tests. 2020-10-29 00:02:00 +00:00
rest-server.php REST API: Make sure all supported JSON Schema keywords are output in the index. 2020-10-20 20:17:20 +00:00
rest-settings-controller.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-site-health-controller.php REST API: Exclude custom site health capability check on multisite. 2020-10-15 02:26:33 +00:00
rest-tags-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-taxonomies-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-term-meta-fields.php REST API: Add support for the oneOf and anyOf keywords. 2020-10-20 18:22:39 +00:00
rest-test-controller.php REST API: Add support for the oneOf and anyOf keywords. 2020-10-20 18:22:39 +00:00
rest-themes-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00
rest-users-controller.php Tests: Introduce assertSameSets() and assertSameSetsWithIndex(), and use them where appropriate. 2020-09-04 07:01:00 +00:00