Changeset 35244 for trunk/tests/phpunit/tests/term/slashes.php
- Timestamp:
- 10/17/2015 07:24:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/slashes.php
r35242 r35244 10 10 parent::setUp(); 11 11 $this->author_id = self::factory()->user->create( array( 'role' => 'administrator' ) ); 12 $this->old_current_user = get_current_user_id(); 12 13 13 wp_set_current_user( $this->author_id ); 14 14 … … 20 20 $this->slash_6 = 'String with 6 slashes \\\\\\\\\\\\'; 21 21 $this->slash_7 = 'String with 7 slashes \\\\\\\\\\\\\\'; 22 }23 24 function tearDown() {25 wp_set_current_user( $this->old_current_user );26 parent::tearDown();27 22 } 28 23
Note: See TracChangeset
for help on using the changeset viewer.