- Timestamp:
- 10/27/2022 03:53:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/wpUpdateCommentCountNow.php
r53863 r54704 6 6 * @covers ::wp_update_comment_count_now 7 7 */ 8 class Tests_Update_Comment_Count_Now extends WP_UnitTestCase { 9 public function _return_100() { 10 return 100; 11 } 8 class Tests_Comment_wpUpdateCommentCountNow extends WP_UnitTestCase { 12 9 13 10 public function test_invalid_post_bails_early() { … … 51 48 remove_filter( 'pre_wp_update_comment_count_now', array( $this, '_return_100' ) ); 52 49 } 50 51 public function _return_100() { 52 return 100; 53 } 53 54 }
Note: See TracChangeset
for help on using the changeset viewer.