aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/plugins
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-12-04 00:26:50 +0100
committerVirtualTam <virtualtam@flibidi.net>2019-01-12 23:11:19 +0100
commite1850388348d4bfdf463a5aa341bc470da79cf32 (patch)
treea97cfd137b545e7b3ada43c4b5bfe143bd494948 /tests/plugins
parent349b0144011e25f2b1a727b1d28d49d55b3b2ebb (diff)
downloadShaarli-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.php9
-rw-r--r--tests/plugins/PluginArchiveorgTest.php2
-rw-r--r--tests/plugins/PluginIssoTest.php1
-rw-r--r--tests/plugins/PluginMarkdownTest.php1
-rw-r--r--tests/plugins/PluginPlayvideosTest.php1
-rw-r--r--tests/plugins/PluginPubsubhubbubTest.php1
-rw-r--r--tests/plugins/PluginQrcodeTest.php1
-rw-r--r--tests/plugins/PluginWallabagTest.php3
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/** 3use Shaarli\Plugin\PluginManager;
4 * PluginPlayvideosTest.php
5 */
6
7use Shaarli\Router; 4use Shaarli\Router;
8 5
9require_once 'plugins/addlink_toolbar/addlink_toolbar.php'; 6require_once 'plugins/addlink_toolbar/addlink_toolbar.php';
10require_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 */
16class PluginAddlinkTest extends PHPUnit_Framework_TestCase 11class 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
7use Shaarli\Plugin\PluginManager;
8
7require_once 'plugins/archiveorg/archiveorg.php'; 9require_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
3use Shaarli\Bookmark\LinkDB; 3use Shaarli\Bookmark\LinkDB;
4use Shaarli\Config\ConfigManager; 4use Shaarli\Config\ConfigManager;
5use Shaarli\Plugin\PluginManager;
5 6
6require_once 'plugins/isso/isso.php'; 7require_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
2use Shaarli\Config\ConfigManager; 2use Shaarli\Config\ConfigManager;
3use 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
7use Shaarli\Plugin\PluginManager;
7use Shaarli\Router; 8use Shaarli\Router;
8 9
9require_once 'plugins/playvideos/playvideos.php'; 10require_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
2use Shaarli\Config\ConfigManager; 2use Shaarli\Config\ConfigManager;
3use Shaarli\Plugin\PluginManager;
3use Shaarli\Router; 4use Shaarli\Router;
4 5
5require_once 'plugins/pubsubhubbub/pubsubhubbub.php'; 6require_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
6use Shaarli\Plugin\PluginManager;
6use Shaarli\Router; 7use Shaarli\Router;
7 8
8require_once 'plugins/qrcode/qrcode.php'; 9require_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
2use Shaarli\Config\ConfigManager; 2use Shaarli\Config\ConfigManager;
3use 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 */
14class PluginWallabagTest extends PHPUnit_Framework_TestCase 15class PluginWallabagTest extends \PHPUnit\Framework\TestCase
15{ 16{
16 /** 17 /**
17 * Reset plugin path 18 * Reset plugin path