Changeset 38398 for trunk/tests/phpunit/tests/admin/includesListTable.php
- Timestamp:
- 08/27/2016 08:35:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesListTable.php
r35186 r38398 5 5 */ 6 6 class Tests_Admin_includesListTable extends WP_UnitTestCase { 7 protected static $top ;8 protected static $children ;9 protected static $grandchildren ;10 protected static $post_ids ;7 protected static $top = array(); 8 protected static $children = array(); 9 protected static $grandchildren = array(); 10 protected static $post_ids = array(); 11 11 12 12 function setUp() { … … 62 62 } 63 63 } 64 }65 }66 67 public static function wpTearDownAfterClass() {68 foreach ( self::$post_ids as $post_id ) {69 wp_delete_post( $post_id, true );70 64 } 71 65 }
Note: See TracChangeset
for help on using the changeset viewer.