X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fplugins%2FPluginQrcodeTest.php;h=419965eb08c3b15d27041d7ab25f5036698d052a;hb=a932f486f20f3daf8ad657d8d39a6d6c316e66eb;hp=ebfadddf39b0bd6241b13273d8734d633c74cebe;hpb=236239be752a7bb24547237b5751ac4fcbc0e549;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/plugins/PluginQrcodeTest.php b/tests/plugins/PluginQrcodeTest.php index ebfadddf..419965eb 100644 --- a/tests/plugins/PluginQrcodeTest.php +++ b/tests/plugins/PluginQrcodeTest.php @@ -3,6 +3,8 @@ * PluginQrcodeTest.php */ +use Shaarli\Router; + require_once 'plugins/qrcode/qrcode.php'; require_once 'application/Router.php'; @@ -15,7 +17,8 @@ class PluginQrcodeTest extends PHPUnit_Framework_TestCase /** * Reset plugin path */ - public function setUp() { + public function setUp() + { PluginManager::$PLUGINS_PATH = 'plugins'; }