X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=tests%2Fhttp%2FHttpUtils%2FIndexUrlTest.php;fp=tests%2FHttpUtils%2FIndexUrlTest.php;h=bcbe59cbf6abe493a392f429fb96f1c54cb2d46c;hp=337dcab0b070fa9b6439eb11d9009815c6ee2450;hb=51753e403fa69c0ce124ede27d300477e3e799ca;hpb=fb1b182fbf0ee5afed586f77eec84d7a906831ef diff --git a/tests/HttpUtils/IndexUrlTest.php b/tests/http/HttpUtils/IndexUrlTest.php similarity index 92% rename from tests/HttpUtils/IndexUrlTest.php rename to tests/http/HttpUtils/IndexUrlTest.php index 337dcab0..bcbe59cb 100644 --- a/tests/HttpUtils/IndexUrlTest.php +++ b/tests/http/HttpUtils/IndexUrlTest.php @@ -3,12 +3,14 @@ * HttpUtils' tests */ -require_once 'application/HttpUtils.php'; +namespace Shaarli\Http; + +require_once 'application/http/HttpUtils.php'; /** * Unitary tests for index_url() */ -class IndexUrlTest extends PHPUnit_Framework_TestCase +class IndexUrlTest extends \PHPUnit\Framework\TestCase { /** * If on the main page, remove "index.php" from the URL resource