Changeset 35186 for trunk/tests/phpunit/tests/admin/includesListTable.php
- Timestamp:
- 10/15/2015 04:43:37 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesListTable.php
r35165 r35186 17 17 } 18 18 19 public static function setUpBeforeClass() { 20 $factory = new WP_UnitTest_Factory(); 21 19 public static function wpSetUpBeforeClass( $factory ) { 22 20 // note that our top/children/grandchildren arrays are 1-indexed 23 21 … … 65 63 } 66 64 } 67 68 self::commit_transaction(); 69 } 70 71 public static function tearDownAfterClass() { 65 } 66 67 public static function wpTearDownAfterClass() { 72 68 foreach ( self::$post_ids as $post_id ) { 73 69 wp_delete_post( $post_id, true ); 74 70 } 75 76 self::commit_transaction();77 71 } 78 72
Note: See TracChangeset
for help on using the changeset viewer.