X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fhttp%2FHttpUtils%2FServerUrlTest.php;fp=tests%2FHttpUtils%2FServerUrlTest.php;h=9caf104983ffd75427cb6a9a9c35cb1a29f042d0;hb=ff3b5dc5542ec150f0d9b447394364a15e9156d0;hp=324b827acc11e9612c933fa89893dfd318f523a3;hpb=1826e383ecf501302974132fd443cf1ca06e10f6;p=github%2Fshaarli%2FShaarli.git 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