Changeset 54891 for trunk/tests/phpunit/tests/post.php
- Timestamp:
- 11/29/2022 03:49:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r54872 r54891 159 159 _unregister_post_type( $post_type ); 160 160 $count = wp_count_posts( $post_type, 'readable' ); 161 $this->assertEquals( new stdClass , $count );161 $this->assertEquals( new stdClass(), $count ); 162 162 } 163 163 … … 602 602 'null' => array( null ), 603 603 'true' => array( true ), 604 'an object' => array( new stdClass ),604 'an object' => array( new stdClass() ), 605 605 ); 606 606 }
Note: See TracChangeset
for help on using the changeset viewer.