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