Skip to content

Commit

Permalink
Docs: Remove obsolete @todo entry in REST API post meta tests.
Browse files Browse the repository at this point in the history
Follow-up to [56714].

See #61608.

git-svn-id: https://develop.svn.wordpress.org/trunk@58948 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Aug 28, 2024
1 parent c544498 commit 8b07767
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/phpunit/tests/rest-api/rest-post-meta-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit 8b07767

Please sign in to comment.