Changeset 45580 for trunk/tests/phpunit/includes/functions.php
- Timestamp:
- 07/01/2019 08:00:12 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/functions.php
r45160 r45580 22 22 * Resets various `$_SERVER` variables that can get altered during tests. 23 23 */ 24 function tests_reset__SERVER() { 24 function tests_reset__SERVER() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid 25 25 $_SERVER['HTTP_HOST'] = WP_TESTS_DOMAIN; 26 26 $_SERVER['REMOTE_ADDR'] = '127.0.0.1';
Note: See TracChangeset
for help on using the changeset viewer.