Changeset 38398 for trunk/tests/phpunit/tests/user/countUserPosts.php
- Timestamp:
- 08/27/2016 08:35:16 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/countUserPosts.php
r35244 r38398 28 28 'post_type' => 'wptests_pt', 29 29 ) ) ); 30 30 31 31 self::$post_ids[] = $factory->post->create( array( 32 32 'post_author' => 12345, 33 33 'post_type' => 'wptests_pt', 34 34 ) ); 35 }36 37 public static function wpTearDownAfterClass() {38 self::delete_user( self::$user_id );39 40 foreach ( self::$post_ids as $post_id ) {41 wp_delete_post( $post_id, true );42 }43 35 } 44 36
Note: See TracChangeset
for help on using the changeset viewer.