Changeset 32785
- Timestamp:
- 06/16/2015 12:03:25 AM (11 years ago)
- Location:
- trunk/tests/phpunit
- Files:
-
- 3 edited
-
includes/bootstrap.php (modified) (1 diff)
-
includes/install.php (modified) (1 diff)
-
tests/auth.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r30298 r32785 38 38 $_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.1'; 39 39 $_SERVER['HTTP_HOST'] = WP_TESTS_DOMAIN; 40 $_SERVER['REQUEST_METHOD'] = 'GET'; 40 41 $PHP_SELF = $GLOBALS['PHP_SELF'] = $_SERVER['PHP_SELF'] = '/index.php'; 41 42 -
trunk/tests/phpunit/includes/install.php
r32139 r32785 16 16 $_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.1'; 17 17 $_SERVER['HTTP_HOST'] = WP_TESTS_DOMAIN; 18 $_SERVER['REQUEST_METHOD'] = 'GET'; 18 19 $PHP_SELF = $GLOBALS['PHP_SELF'] = $_SERVER['PHP_SELF'] = '/index.php'; 19 20 -
trunk/tests/phpunit/tests/auth.php
r30576 r32785 11 11 parent::setUp(); 12 12 $this->user_id = $this->factory->user->create(); 13 14 $_SERVER['REQUEST_METHOD'] = null;15 13 } 16 14
Note: See TracChangeset
for help on using the changeset viewer.