Changeset 51079 for trunk/tests/phpunit/tests/post.php
- Timestamp:
- 06/07/2021 11:16:29 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r50384 r51079 1783 1783 update_option( 'sticky_posts', array( 1, 2, 2 ) ); 1784 1784 stick_post( 2 ); 1785 $this->assert Equals( array( 1, 2, 2 ), get_option( 'sticky_posts' ) );1785 $this->assertSameSets( array( 1, 2, 2 ), get_option( 'sticky_posts' ) ); 1786 1786 } 1787 1787 … … 1795 1795 update_option( 'sticky_posts', array( 1, 2, 2 ) ); 1796 1796 unstick_post( 3 ); 1797 $this->assert Equals( array( 1, 2, 2 ), get_option( 'sticky_posts' ) );1797 $this->assertSameSets( array( 1, 2, 2 ), get_option( 'sticky_posts' ) ); 1798 1798 } 1799 1799 }
Note: See TracChangeset
for help on using the changeset viewer.