]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/plugins/PluginQrcodeTest.php
Merge pull request #1248 from virtualtam/refactor/namespacing
[github/shaarli/Shaarli.git] / tests / plugins / PluginQrcodeTest.php
index dd632eee4594592a5ebcadf47b6c386caffe7a49..0c61e14a75bc841f1be4d5362bcb4b55c8b4662d 100644 (file)
@@ -1,16 +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