Changeset 50449 for trunk/tests/phpunit/tests/query/setupPostdata.php
- Timestamp:
- 02/27/2021 04:54:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/setupPostdata.php
r48937 r50449 11 11 12 12 protected $pages_global; 13 14 public function setUp() {15 parent::setUp();16 return;17 18 foreach ( $this->global_keys as $global_key ) {19 if ( isset( $GLOBALS[ $global_key ] ) ) {20 $this->global_data[ $global_key ] = $GLOBALS[ $global_key ];21 unset( $GLOBALS[ $global_key ] );22 } else {23 $this->global_data[ $global_key ] = null;24 }25 }26 }27 13 28 14 public function test_id() {
Note: See TracChangeset
for help on using the changeset viewer.