diff --git a/tests/ZendTest/Http/PhpEnvironment/RemoteAddressTest.php b/tests/ZendTest/Http/PhpEnvironment/RemoteAddressTest.php index 219c454815f..2a1899fa981 100644 --- a/tests/ZendTest/Http/PhpEnvironment/RemoteAddressTest.php +++ b/tests/ZendTest/Http/PhpEnvironment/RemoteAddressTest.php @@ -65,7 +65,7 @@ public function testSetGetUseProxy() $this->remoteAddress->setUseProxy(false); $this->assertFalse($this->remoteAddress->getUseProxy()); } - + public function testSetGetDefaultUseProxy() { $this->remoteAddress->setUseProxy(); @@ -83,7 +83,7 @@ public function testSetTrustedProxies() public function testGetIpAddress() { $_SERVER['REMOTE_ADDR'] = '127.0.0.1'; - $this->assertEquals('127.0.0.1', $this->remoteAddress->getIpAddress()); + $this->assertEquals('127.0.0.1', $this->remoteAddress->getIpAddress()); } public function testGetIpAddressFromProxy() @@ -122,9 +122,9 @@ public function testGetIpAddressFromProxyFakeData() '192.168.0.10', '10.0.0.1', '10.0.0.2' )); $_SERVER['REMOTE_ADDR'] = '192.168.0.10'; - // 1.1.1.1 is the first IP address from the right not representing a known proxy server; as such, we + // 1.1.1.1 is the first IP address from the right not representing a known proxy server; as such, we // must treat it as a client IP. $_SERVER['HTTP_X_FORWARDED_FOR'] = '8.8.8.8, 10.0.0.2, 1.1.1.1, 10.0.0.1'; $this->assertEquals('1.1.1.1', $this->remoteAddress->getIpAddress()); } -} +}