diff options
Diffstat (limited to 'tests/RouterTest.php')
-rw-r--r-- | tests/RouterTest.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/RouterTest.php b/tests/RouterTest.php index 544bcf9c..0cd49bb8 100644 --- a/tests/RouterTest.php +++ b/tests/RouterTest.php | |||
@@ -1,15 +1,10 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | namespace Shaarli; | |
3 | /** | ||
4 | * Router tests | ||
5 | */ | ||
6 | |||
7 | require_once 'application/Router.php'; | ||
8 | 3 | ||
9 | /** | 4 | /** |
10 | * Unit tests for Router | 5 | * Unit tests for Router |
11 | */ | 6 | */ |
12 | class RouterTest extends PHPUnit_Framework_TestCase | 7 | class RouterTest extends \PHPUnit\Framework\TestCase |
13 | { | 8 | { |
14 | /** | 9 | /** |
15 | * Test findPage: login page output. | 10 | * Test findPage: login page output. |
@@ -218,7 +213,6 @@ class RouterTest extends PHPUnit_Framework_TestCase | |||
218 | Router::$PAGE_CHANGEPASSWORD, | 213 | Router::$PAGE_CHANGEPASSWORD, |
219 | Router::findPage('do=changepasswd&stuff', array(), true) | 214 | Router::findPage('do=changepasswd&stuff', array(), true) |
220 | ); | 215 | ); |
221 | |||
222 | } | 216 | } |
223 | 217 | ||
224 | /** | 218 | /** |