X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fhttp%2FHttpUtils%2FClientIpIdTest.php;fp=tests%2FHttpUtils%2FClientIpIdTest.php;h=982e57e0b6ff37ae8b42b1a5a11707ddf0bb08b9;hb=ff3b5dc5542ec150f0d9b447394364a15e9156d0;hp=c15ac5cc0a4814733cd7bfdd79eccaccec29e0c4;hpb=1826e383ecf501302974132fd443cf1ca06e10f6;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/HttpUtils/ClientIpIdTest.php b/tests/http/HttpUtils/ClientIpIdTest.php similarity index 89% rename from tests/HttpUtils/ClientIpIdTest.php rename to tests/http/HttpUtils/ClientIpIdTest.php index c15ac5cc..982e57e0 100644 --- a/tests/HttpUtils/ClientIpIdTest.php +++ b/tests/http/HttpUtils/ClientIpIdTest.php @@ -3,12 +3,14 @@ * HttpUtils' tests */ -require_once 'application/HttpUtils.php'; +namespace Shaarli\Http; + +require_once 'application/http/HttpUtils.php'; /** * Unitary tests for client_ip_id() */ -class ClientIpIdTest extends PHPUnit_Framework_TestCase +class ClientIpIdTest extends \PHPUnit\Framework\TestCase { /** * Get a remote client ID based on its IP