Changeset 38398 for trunk/tests/phpunit/tests/ajax/GetComments.php
- Timestamp:
- 08/27/2016 08:35:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/GetComments.php
r35311 r38398 34 34 self::$comment_ids = $factory->comment->create_post_comments( self::$comment_post->ID, 5 ); 35 35 self::$no_comment_post = $factory->post->create_and_get(); 36 }37 38 public static function wpTearDownAfterClass() {39 foreach ( self::$comment_ids as $comment_id ) {40 wp_delete_comment( $comment_id, true );41 }42 43 wp_delete_post( self::$comment_post->ID, true );44 wp_delete_post( self::$no_comment_post->ID, true );45 36 } 46 37
Note: See TracChangeset
for help on using the changeset viewer.