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