]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/PluginManagerTest.php
doc: add Make target to run phpDocumentor with Docker
[github/shaarli/Shaarli.git] / tests / PluginManagerTest.php
index f4826e2e371d7050279de37d844140e38ae9d603..71761ac17db62f18eb199f4f85e32774b4ae2cf4 100644 (file)
@@ -1,15 +1,12 @@
 <?php
+namespace Shaarli\Plugin;
 
-/**
- * Plugin Manager tests
- */
-
-require_once 'application/PluginManager.php';
+use Shaarli\Config\ConfigManager;
 
 /**
  * Unit tests for Plugins
  */
-class PluginManagerTest extends PHPUnit_Framework_TestCase
+class PluginManagerTest extends \PHPUnit\Framework\TestCase
 {
     /**
      * Path to tests plugin.
@@ -92,4 +89,4 @@ class PluginManagerTest extends PHPUnit_Framework_TestCase
         $this->assertEquals('test plugin', $meta[self::$pluginName]['description']);
         $this->assertEquals($expectedParameters, $meta[self::$pluginName]['parameters']);
     }
-}
\ No newline at end of file
+}