<?php
-
-/**
- * Router tests
- */
-
-require_once 'application/Router.php';
+namespace Shaarli;
/**
* Unit tests for Router
*/
-class RouterTest extends PHPUnit_Framework_TestCase
+class RouterTest extends \PHPUnit\Framework\TestCase
{
/**
* Test findPage: login page output.
Router::$PAGE_CHANGEPASSWORD,
Router::findPage('do=changepasswd&stuff', array(), true)
);
-
}
/**
Router::findPage('whatever', array(), true)
);
}
-}
\ No newline at end of file
+}