diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-12-04 23:17:23 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 23:11:19 +0100 |
commit | 9585441734924cb8ece3924afa5fefb6aa2e2604 (patch) | |
tree | 9e62a09ab770101172054136d0e6d489601bc862 /tests/plugins/PluginQrcodeTest.php | |
parent | e1850388348d4bfdf463a5aa341bc470da79cf32 (diff) | |
download | Shaarli-9585441734924cb8ece3924afa5fefb6aa2e2604.tar.gz Shaarli-9585441734924cb8ece3924afa5fefb6aa2e2604.tar.zst Shaarli-9585441734924cb8ece3924afa5fefb6aa2e2604.zip |
namespacing: add plugin tests to \Shaarli\Plugin\[...]
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/plugins/PluginQrcodeTest.php')
-rw-r--r-- | tests/plugins/PluginQrcodeTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/plugins/PluginQrcodeTest.php b/tests/plugins/PluginQrcodeTest.php index 325e3109..0c61e14a 100644 --- a/tests/plugins/PluginQrcodeTest.php +++ b/tests/plugins/PluginQrcodeTest.php | |||
@@ -1,4 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | namespace Shaarli\Plugin\Qrcode; | ||
3 | |||
2 | /** | 4 | /** |
3 | * PluginQrcodeTest.php | 5 | * PluginQrcodeTest.php |
4 | */ | 6 | */ |
@@ -7,13 +9,12 @@ use Shaarli\Plugin\PluginManager; | |||
7 | use Shaarli\Router; | 9 | use Shaarli\Router; |
8 | 10 | ||
9 | require_once 'plugins/qrcode/qrcode.php'; | 11 | require_once 'plugins/qrcode/qrcode.php'; |
10 | require_once 'application/Router.php'; | ||
11 | 12 | ||
12 | /** | 13 | /** |
13 | * Class PluginQrcodeTest | 14 | * Class PluginQrcodeTest |
14 | * Unit test for the QR-Code plugin | 15 | * Unit test for the QR-Code plugin |
15 | */ | 16 | */ |
16 | class PluginQrcodeTest extends PHPUnit_Framework_TestCase | 17 | class PluginQrcodeTest extends \PHPUnit\Framework\TestCase |
17 | { | 18 | { |
18 | /** | 19 | /** |
19 | * Reset plugin path | 20 | * Reset plugin path |