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