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