X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=tests%2Fhttp%2FHttpUtils%2FClientIpIdTest.php;fp=tests%2FHttpUtils%2FClientIpIdTest.php;h=982e57e0b6ff37ae8b42b1a5a11707ddf0bb08b9;hp=c15ac5cc0a4814733cd7bfdd79eccaccec29e0c4;hb=51753e403fa69c0ce124ede27d300477e3e799ca;hpb=fb1b182fbf0ee5afed586f77eec84d7a906831ef 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