From 8b07767d87fc38b2b6eafc70ef3e41078508de2c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 28 Aug 2024 21:51:14 +0000 Subject: [PATCH] Docs: Remove obsolete `@todo` entry in REST API post meta tests. Follow-up to [56714]. See #61608. git-svn-id: https://develop.svn.wordpress.org/trunk@58948 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/rest-api/rest-post-meta-fields.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/phpunit/tests/rest-api/rest-post-meta-fields.php b/tests/phpunit/tests/rest-api/rest-post-meta-fields.php index 786396df2e215..2546076b2ae1d 100644 --- a/tests/phpunit/tests/rest-api/rest-post-meta-fields.php +++ b/tests/phpunit/tests/rest-api/rest-post-meta-fields.php @@ -3621,7 +3621,6 @@ public function error_delete_query( $query ) { return $query; } - /** * Test that single post meta is revisioned when saving to the posts REST API endpoint. * @@ -3659,7 +3658,6 @@ public function test_revisioned_single_post_meta_with_posts_endpoint() { $revisions = wp_get_post_revisions( $post_id, array( 'posts_per_page' => 1 ) ); $revision_id = array_shift( $revisions )->ID; - // @todo Ensure the revisions endpoint returns the correct meta values // Check that the revisions endpoint returns the correct meta value. $request = new WP_REST_Request( 'GET', sprintf( '/wp/v2/posts/%d/revisions/%d', $post_id, $revision_id ) ); $response = rest_get_server()->dispatch( $request );