Changeset 48937 for trunk/tests/phpunit/tests/post/revisions.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/revisions.php
r47122 r48937 61 61 62 62 $lastrevision = end( $revisions ); 63 $this->assert Equals( 'I cant spel werds.', $lastrevision->post_content );63 $this->assertSame( 'I cant spel werds.', $lastrevision->post_content ); 64 64 // #16215 65 65 $this->assertEquals( self::$author_user_id, $lastrevision->post_author ); … … 545 545 $revisions = wp_get_post_revisions( $post['ID'] ); 546 546 547 $this->assert Equals( $revision_ids, array_values( wp_list_pluck( $revisions, 'ID' ) ) );547 $this->assertSame( $revision_ids, array_values( wp_list_pluck( $revisions, 'ID' ) ) ); 548 548 } 549 549 … … 580 580 $revisions = wp_get_post_revisions( $post['ID'] ); 581 581 582 $this->assert Equals( $revision_ids, array_values( wp_list_pluck( $revisions, 'ID' ) ) );582 $this->assertSame( $revision_ids, array_values( wp_list_pluck( $revisions, 'ID' ) ) ); 583 583 } 584 584 }
Note: See TracChangeset
for help on using the changeset viewer.