Changeset 35244 for trunk/tests/phpunit/tests/ajax/Autosave.php
- Timestamp:
- 10/17/2015 07:24:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/Autosave.php
r35242 r35244 39 39 $post_id = self::factory()->post->create( array( 'post_status' => 'draft' ) ); 40 40 $this->_post = get_post( $post_id ); 41 }42 43 /**44 * Tear down the test fixture.45 * Reset the current user46 */47 public function tearDown() {48 wp_set_current_user( 0 );49 parent::tearDown();50 41 } 51 42
Note: See TracChangeset
for help on using the changeset viewer.