Changeset 38398 for trunk/tests/phpunit/tests/term/wpSetObjectTerms.php
- Timestamp:
- 08/27/2016 08:35:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpSetObjectTerms.php
r38382 r38398 10 10 public static function wpSetUpBeforeClass( $factory ) { 11 11 self::$post_ids = $factory->post->create_many( 5 ); 12 }13 14 public static function wpTearDownAfterClass() {15 foreach ( self::$post_ids as $post_id ) {16 wp_delete_post( $post_id, true );17 }18 12 } 19 13
Note: See TracChangeset
for help on using the changeset viewer.