diff --git a/tests/phpunit/tests/comment/slashes.php b/tests/phpunit/tests/comment/slashes.php index d22df5c855..6b3cecdcd6 100644 --- a/tests/phpunit/tests/comment/slashes.php +++ b/tests/phpunit/tests/comment/slashes.php @@ -22,8 +22,6 @@ class Tests_Comment_Slashes extends WP_UnitTestCase { $this->slash_5 = 'String with 5 slashes \\\\\\\\\\'; $this->slash_6 = 'String with 6 slashes \\\\\\\\\\\\'; $this->slash_7 = 'String with 7 slashes \\\\\\\\\\\\\\'; - - $_SERVER['REMOTE_ADDR'] = null; } function tearDown() { diff --git a/tests/phpunit/tests/multisite/site.php b/tests/phpunit/tests/multisite/site.php index 4e5298d43d..6b8a69580d 100644 --- a/tests/phpunit/tests/multisite/site.php +++ b/tests/phpunit/tests/multisite/site.php @@ -15,8 +15,6 @@ class Tests_Multisite_Site extends WP_UnitTestCase { global $wpdb; parent::setUp(); $this->suppress = $wpdb->suppress_errors(); - - $_SERVER[ 'REMOTE_ADDR' ] = ''; } function tearDown() {