diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-12-04 00:26:50 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 23:11:19 +0100 |
commit | e1850388348d4bfdf463a5aa341bc470da79cf32 (patch) | |
tree | a97cfd137b545e7b3ada43c4b5bfe143bd494948 /tests/plugins | |
parent | 349b0144011e25f2b1a727b1d28d49d55b3b2ebb (diff) | |
download | Shaarli-e1850388348d4bfdf463a5aa341bc470da79cf32.tar.gz Shaarli-e1850388348d4bfdf463a5aa341bc470da79cf32.tar.zst Shaarli-e1850388348d4bfdf463a5aa341bc470da79cf32.zip |
namespacing: \Shaarli\Plugin\PluginManager
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/PluginAddlinkTest.php | 9 | ||||
-rw-r--r-- | tests/plugins/PluginArchiveorgTest.php | 2 | ||||
-rw-r--r-- | tests/plugins/PluginIssoTest.php | 1 | ||||
-rw-r--r-- | tests/plugins/PluginMarkdownTest.php | 1 | ||||
-rw-r--r-- | tests/plugins/PluginPlayvideosTest.php | 1 | ||||
-rw-r--r-- | tests/plugins/PluginPubsubhubbubTest.php | 1 | ||||
-rw-r--r-- | tests/plugins/PluginQrcodeTest.php | 1 | ||||
-rw-r--r-- | tests/plugins/PluginWallabagTest.php | 3 |
8 files changed, 11 insertions, 8 deletions
diff --git a/tests/plugins/PluginAddlinkTest.php b/tests/plugins/PluginAddlinkTest.php index f6fea7af..e0a0107d 100644 --- a/tests/plugins/PluginAddlinkTest.php +++ b/tests/plugins/PluginAddlinkTest.php | |||
@@ -1,19 +1,14 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | /** | 3 | use Shaarli\Plugin\PluginManager; |
4 | * PluginPlayvideosTest.php | ||
5 | */ | ||
6 | |||
7 | use Shaarli\Router; | 4 | use Shaarli\Router; |
8 | 5 | ||
9 | require_once 'plugins/addlink_toolbar/addlink_toolbar.php'; | 6 | require_once 'plugins/addlink_toolbar/addlink_toolbar.php'; |
10 | require_once 'application/Router.php'; | ||
11 | 7 | ||
12 | /** | 8 | /** |
13 | * Class PluginAddlinkTest | ||
14 | * Unit test for the Addlink toolbar plugin | 9 | * Unit test for the Addlink toolbar plugin |
15 | */ | 10 | */ |
16 | class PluginAddlinkTest extends PHPUnit_Framework_TestCase | 11 | class PluginAddlinkTest extends \PHPUnit\Framework\TestCase |
17 | { | 12 | { |
18 | /** | 13 | /** |
19 | * Reset plugin path. | 14 | * Reset plugin path. |
diff --git a/tests/plugins/PluginArchiveorgTest.php b/tests/plugins/PluginArchiveorgTest.php index fecd5f2c..d06bfa59 100644 --- a/tests/plugins/PluginArchiveorgTest.php +++ b/tests/plugins/PluginArchiveorgTest.php | |||
@@ -4,6 +4,8 @@ | |||
4 | * PluginArchiveorgTest.php | 4 | * PluginArchiveorgTest.php |
5 | */ | 5 | */ |
6 | 6 | ||
7 | use Shaarli\Plugin\PluginManager; | ||
8 | |||
7 | require_once 'plugins/archiveorg/archiveorg.php'; | 9 | require_once 'plugins/archiveorg/archiveorg.php'; |
8 | 10 | ||
9 | /** | 11 | /** |
diff --git a/tests/plugins/PluginIssoTest.php b/tests/plugins/PluginIssoTest.php index f5fa1daa..7aee2197 100644 --- a/tests/plugins/PluginIssoTest.php +++ b/tests/plugins/PluginIssoTest.php | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | use Shaarli\Bookmark\LinkDB; | 3 | use Shaarli\Bookmark\LinkDB; |
4 | use Shaarli\Config\ConfigManager; | 4 | use Shaarli\Config\ConfigManager; |
5 | use Shaarli\Plugin\PluginManager; | ||
5 | 6 | ||
6 | require_once 'plugins/isso/isso.php'; | 7 | require_once 'plugins/isso/isso.php'; |
7 | 8 | ||
diff --git a/tests/plugins/PluginMarkdownTest.php b/tests/plugins/PluginMarkdownTest.php index d6951866..90a19e7b 100644 --- a/tests/plugins/PluginMarkdownTest.php +++ b/tests/plugins/PluginMarkdownTest.php | |||
@@ -1,5 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | use Shaarli\Config\ConfigManager; | 2 | use Shaarli\Config\ConfigManager; |
3 | use Shaarli\Plugin\PluginManager; | ||
3 | 4 | ||
4 | /** | 5 | /** |
5 | * PluginMarkdownTest.php | 6 | * PluginMarkdownTest.php |
diff --git a/tests/plugins/PluginPlayvideosTest.php b/tests/plugins/PluginPlayvideosTest.php index 7ee92400..aa3ad143 100644 --- a/tests/plugins/PluginPlayvideosTest.php +++ b/tests/plugins/PluginPlayvideosTest.php | |||
@@ -4,6 +4,7 @@ | |||
4 | * PluginPlayvideosTest.php | 4 | * PluginPlayvideosTest.php |
5 | */ | 5 | */ |
6 | 6 | ||
7 | use Shaarli\Plugin\PluginManager; | ||
7 | use Shaarli\Router; | 8 | use Shaarli\Router; |
8 | 9 | ||
9 | require_once 'plugins/playvideos/playvideos.php'; | 10 | require_once 'plugins/playvideos/playvideos.php'; |
diff --git a/tests/plugins/PluginPubsubhubbubTest.php b/tests/plugins/PluginPubsubhubbubTest.php index 75f146f2..4680513e 100644 --- a/tests/plugins/PluginPubsubhubbubTest.php +++ b/tests/plugins/PluginPubsubhubbubTest.php | |||
@@ -1,5 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | use Shaarli\Config\ConfigManager; | 2 | use Shaarli\Config\ConfigManager; |
3 | use Shaarli\Plugin\PluginManager; | ||
3 | use Shaarli\Router; | 4 | use Shaarli\Router; |
4 | 5 | ||
5 | require_once 'plugins/pubsubhubbub/pubsubhubbub.php'; | 6 | require_once 'plugins/pubsubhubbub/pubsubhubbub.php'; |
diff --git a/tests/plugins/PluginQrcodeTest.php b/tests/plugins/PluginQrcodeTest.php index 419965eb..325e3109 100644 --- a/tests/plugins/PluginQrcodeTest.php +++ b/tests/plugins/PluginQrcodeTest.php | |||
@@ -3,6 +3,7 @@ | |||
3 | * PluginQrcodeTest.php | 3 | * PluginQrcodeTest.php |
4 | */ | 4 | */ |
5 | 5 | ||
6 | use Shaarli\Plugin\PluginManager; | ||
6 | use Shaarli\Router; | 7 | use Shaarli\Router; |
7 | 8 | ||
8 | require_once 'plugins/qrcode/qrcode.php'; | 9 | require_once 'plugins/qrcode/qrcode.php'; |
diff --git a/tests/plugins/PluginWallabagTest.php b/tests/plugins/PluginWallabagTest.php index 76b7887e..4e445efb 100644 --- a/tests/plugins/PluginWallabagTest.php +++ b/tests/plugins/PluginWallabagTest.php | |||
@@ -1,5 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | use Shaarli\Config\ConfigManager; | 2 | use Shaarli\Config\ConfigManager; |
3 | use Shaarli\Plugin\PluginManager; | ||
3 | 4 | ||
4 | /** | 5 | /** |
5 | * PluginWallabagTest.php.php | 6 | * PluginWallabagTest.php.php |
@@ -11,7 +12,7 @@ require_once 'plugins/wallabag/wallabag.php'; | |||
11 | * Class PluginWallabagTest | 12 | * Class PluginWallabagTest |
12 | * Unit test for the Wallabag plugin | 13 | * Unit test for the Wallabag plugin |
13 | */ | 14 | */ |
14 | class PluginWallabagTest extends PHPUnit_Framework_TestCase | 15 | class PluginWallabagTest extends \PHPUnit\Framework\TestCase |
15 | { | 16 | { |
16 | /** | 17 | /** |
17 | * Reset plugin path | 18 | * Reset plugin path |