X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=tests%2Fhttp%2FHttpUtils%2FServerUrlTest.php;fp=tests%2FHttpUtils%2FServerUrlTest.php;h=9caf104983ffd75427cb6a9a9c35cb1a29f042d0;hp=324b827acc11e9612c933fa89893dfd318f523a3;hb=51753e403fa69c0ce124ede27d300477e3e799ca;hpb=fb1b182fbf0ee5afed586f77eec84d7a906831ef diff --git a/tests/HttpUtils/ServerUrlTest.php b/tests/http/HttpUtils/ServerUrlTest.php similarity index 97% rename from tests/HttpUtils/ServerUrlTest.php rename to tests/http/HttpUtils/ServerUrlTest.php index 324b827a..9caf1049 100644 --- a/tests/HttpUtils/ServerUrlTest.php +++ b/tests/http/HttpUtils/ServerUrlTest.php @@ -3,12 +3,14 @@ * HttpUtils' tests */ -require_once 'application/HttpUtils.php'; +namespace Shaarli\Http; + +require_once 'application/http/HttpUtils.php'; /** * Unitary tests for server_url() */ -class ServerUrlTest extends PHPUnit_Framework_TestCase +class ServerUrlTest extends \PHPUnit\Framework\TestCase { /** * Detect if the server uses SSL