- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getCommentsPagesCount.php
r47122 r48937 53 53 $comments = get_comments( array( 'post_id' => $post_id ) ); 54 54 55 $this->assert Equals( 0, get_comment_pages_count( $comments, 10, false ) );56 $this->assert Equals( 0, get_comment_pages_count( $comments, 1, false ) );57 $this->assert Equals( 0, get_comment_pages_count( $comments, 0, false ) );58 $this->assert Equals( 0, get_comment_pages_count( $comments, 10, true ) );59 $this->assert Equals( 0, get_comment_pages_count( $comments, 5 ) );60 $this->assert Equals( 0, get_comment_pages_count( $comments ) );55 $this->assertSame( 0, get_comment_pages_count( $comments, 10, false ) ); 56 $this->assertSame( 0, get_comment_pages_count( $comments, 1, false ) ); 57 $this->assertSame( 0, get_comment_pages_count( $comments, 0, false ) ); 58 $this->assertSame( 0, get_comment_pages_count( $comments, 10, true ) ); 59 $this->assertSame( 0, get_comment_pages_count( $comments, 5 ) ); 60 $this->assertSame( 0, get_comment_pages_count( $comments ) ); 61 61 $this->assertequals( 0, get_comment_pages_count( null, 1 ) ); 62 62 }
Note: See TracChangeset
for help on using the changeset viewer.