]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/plugins/PluginQrcodeTest.php
Merge pull request #1182 from ArthurHoaro/feature/session-protection-stay-login
[github/shaarli/Shaarli.git] / tests / plugins / PluginQrcodeTest.php
index 419965eb08c3b15d27041d7ab25f5036698d052a..0c61e14a75bc841f1be4d5362bcb4b55c8b4662d 100644 (file)
@@ -1,18 +1,20 @@
 <?php
+namespace Shaarli\Plugin\Qrcode;
+
 /**
  * PluginQrcodeTest.php
  */
 
+use Shaarli\Plugin\PluginManager;
 use Shaarli\Router;
 
 require_once 'plugins/qrcode/qrcode.php';
-require_once 'application/Router.php';
 
 /**
  * Class PluginQrcodeTest
  * Unit test for the QR-Code plugin
  */
-class PluginQrcodeTest extends PHPUnit_Framework_TestCase
+class PluginQrcodeTest extends \PHPUnit\Framework\TestCase
 {
     /**
      * Reset plugin path