Changeset 53841 for trunk/tests/phpunit/tests/post/revisions.php
- Timestamp:
- 08/05/2022 01:00:57 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post/revisions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/revisions.php
r53778 r53841 676 676 $post_revisions = wp_get_post_revisions( $post_id ); 677 677 $latest_post_revision = current( $post_revisions ); 678 $revision = wp_get_latest_revision_id_and_total_count( $post_id );678 $revisions = wp_get_latest_revision_id_and_total_count( $post_id ); 679 679 680 680 $this->assertSame( 681 681 $latest_post_revision->ID, 682 $revision ['revision'],682 $revisions['latest_id'], 683 683 'The latest revision ID does not match.' 684 684 ); … … 686 686 $this->assertSame( 687 687 count( $post_revisions ), 688 $revision ['count'],688 $revisions['count'], 689 689 'The total count of revisions does not match.' 690 690 );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)