Changeset 38398 for trunk/tests/phpunit/tests/canonical/category.php
- Timestamp:
- 08/27/2016 08:35:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/category.php
r38216 r38398 21 21 wp_set_post_categories( self::$posts[0], self::$cats[0] ); 22 22 wp_set_post_categories( self::$posts[1], self::$cats[1] ); 23 }24 25 public static function wpTearDownAfterClass() {26 foreach ( self::$posts as $post_id ) {27 wp_delete_post( $post_id, true );28 }29 30 foreach ( self::$cats as $cat ) {31 wp_delete_term( $cat, 'category' );32 }33 23 } 34 24
Note: See TracChangeset
for help on using the changeset viewer.