@@ -25,7 +25,7 @@ test('', function () {
2525
2626 $ factory ->setProxy ('127.0.0.1/8 ' );
2727 Assert::same ('23.75.45.200 ' , $ factory ->fromGlobals ()->getRemoteAddress ());
28- Assert::same ( ' a23-75-45-200.deploy.static.akamaitechnologies.com ' , $ factory ->fromGlobals ()->getRemoteHost ());
28+ Assert::null ( $ factory ->fromGlobals ()->getRemoteHost ());
2929
3030 $ url = $ factory ->fromGlobals ()->getUrl ();
3131 Assert::same ('http ' , $ url ->getScheme ());
@@ -43,7 +43,7 @@ test('', function () {
4343
4444 $ factory ->setProxy ('127.0.0.3 ' );
4545 Assert::same ('23.75.45.200 ' , $ factory ->fromGlobals ()->getRemoteAddress ());
46- Assert::same ( ' a23-75-45-200.deploy.static.akamaitechnologies.com ' , $ factory ->fromGlobals ()->getRemoteHost ());
46+ Assert::null ( $ factory ->fromGlobals ()->getRemoteHost ());
4747
4848 $ url = $ factory ->fromGlobals ()->getUrl ();
4949 Assert::same (8080 , $ url ->getPort ());
@@ -62,7 +62,7 @@ test('', function () {
6262
6363 $ factory ->setProxy ('127.0.0.3 ' );
6464 Assert::same ('2001:db8:cafe::17 ' , $ factory ->fromGlobals ()->getRemoteAddress ());
65- Assert::same ( ' 2001:db8:cafe::17 ' , $ factory ->fromGlobals ()->getRemoteHost ());
65+ Assert::null ( $ factory ->fromGlobals ()->getRemoteHost ());
6666
6767 $ url = $ factory ->fromGlobals ()->getUrl ();
6868 Assert::same ('[2001:db8:cafe::18] ' , $ url ->getHost ());
@@ -79,7 +79,7 @@ test('', function () {
7979
8080 $ factory ->setProxy ('127.0.0.3 ' );
8181 Assert::same ('2001:db8:cafe::17 ' , $ factory ->fromGlobals ()->getRemoteAddress ());
82- Assert::same ( ' 2001:db8:cafe::17 ' , $ factory ->fromGlobals ()->getRemoteHost ());
82+ Assert::null ( $ factory ->fromGlobals ()->getRemoteHost ());
8383
8484 $ url = $ factory ->fromGlobals ()->getUrl ();
8585 Assert::same (47832 , $ url ->getPort ());
0 commit comments