Changeset 48937 for trunk/tests/phpunit/tests/link/getAdjacentPost.php
- Timestamp:
- 09/02/2020 12:35:36 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/link/getAdjacentPost.php
r47122 r48937 59 59 $this->go_to( get_permalink( $post_one->ID ) ); 60 60 61 $this->assert Equals( '', get_adjacent_post( true, '', true, 'category' ) );61 $this->assertSame( '', get_adjacent_post( true, '', true, 'category' ) ); 62 62 $this->assertEquals( $post_three, get_adjacent_post( true, '', false, 'category' ) ); 63 63 … … 65 65 $this->go_to( get_permalink( $post_two->ID ) ); 66 66 67 $this->assert Equals( '', get_adjacent_post( true, '', true, 'post_tag' ) );67 $this->assertSame( '', get_adjacent_post( true, '', true, 'post_tag' ) ); 68 68 $this->assertEquals( $post_four, get_adjacent_post( true, '', false, 'post_tag' ) ); 69 69 … … 205 205 206 206 // Should skip $p2, which belongs to $t. 207 $this->assert Equals( $p3, $found->ID );207 $this->assertSame( $p3, $found->ID ); 208 208 } 209 209 … … 242 242 243 243 // Should skip $p2, which belongs to $t. 244 $this->assert Equals( $p3, $found->ID );244 $this->assertSame( $p3, $found->ID ); 245 245 } 246 246
Note: See TracChangeset
for help on using the changeset viewer.