]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/RouterTest.php
Optimize and cleanup imports
[github/shaarli/Shaarli.git] / tests / RouterTest.php
old mode 100755 (executable)
new mode 100644 (file)
index 8838bc8..0cd49bb
@@ -1,15 +1,10 @@
 <?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.
@@ -218,7 +213,6 @@ class RouterTest extends PHPUnit_Framework_TestCase
             Router::$PAGE_CHANGEPASSWORD,
             Router::findPage('do=changepasswd&stuff', array(), true)
         );
-
     }
 
     /**
@@ -512,4 +506,4 @@ class RouterTest extends PHPUnit_Framework_TestCase
             Router::findPage('whatever', array(), true)
         );
     }
-}
\ No newline at end of file
+}