Changeset 49108 for trunk/tests/phpunit/tests/xmlrpc/wp/getPosts.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getPosts.php
r48937 r49108 103 103 $last_comment_count = 100; 104 104 foreach ( $results2 as $post ) { 105 $comment_count = intval( get_comments_number( $post['post_id'] ));105 $comment_count = (int) get_comments_number( $post['post_id'] ); 106 106 $this->assertLessThanOrEqual( $last_comment_count, $comment_count ); 107 107 $last_comment_count = $comment_count;
Note: See TracChangeset
for help on using the changeset viewer.