aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-12-04 00:02:17 +0100
committerVirtualTam <virtualtam@flibidi.net>2019-01-12 23:11:19 +0100
commita932f486f20f3daf8ad657d8d39a6d6c316e66eb (patch)
treee9aeeec1ac6ffc65b129cab2571b2be2ad7cef46 /tests
parent9778a1551ce708b9f421a181806412a05410f1fb (diff)
downloadShaarli-a932f486f20f3daf8ad657d8d39a6d6c316e66eb.tar.gz
Shaarli-a932f486f20f3daf8ad657d8d39a6d6c316e66eb.tar.zst
Shaarli-a932f486f20f3daf8ad657d8d39a6d6c316e66eb.zip
namespacing: \Shaarli\Router
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/RouterTest.php9
-rw-r--r--tests/plugins/PluginAddlinkTest.php2
-rw-r--r--tests/plugins/PluginPlayvideosTest.php2
-rw-r--r--tests/plugins/PluginPubsubhubbubTest.php1
-rw-r--r--tests/plugins/PluginQrcodeTest.php2
5 files changed, 9 insertions, 7 deletions
diff --git a/tests/RouterTest.php b/tests/RouterTest.php
index abf1bd5f..0cd49bb8 100644
--- a/tests/RouterTest.php
+++ b/tests/RouterTest.php
@@ -1,15 +1,10 @@
1<?php 1<?php
2 2namespace Shaarli;
3/**
4 * Router tests
5 */
6
7require_once 'application/Router.php';
8 3
9/** 4/**
10 * Unit tests for Router 5 * Unit tests for Router
11 */ 6 */
12class RouterTest extends PHPUnit_Framework_TestCase 7class RouterTest extends \PHPUnit\Framework\TestCase
13{ 8{
14 /** 9 /**
15 * Test findPage: login page output. 10 * Test findPage: login page output.
diff --git a/tests/plugins/PluginAddlinkTest.php b/tests/plugins/PluginAddlinkTest.php
index b6239e7f..f6fea7af 100644
--- a/tests/plugins/PluginAddlinkTest.php
+++ b/tests/plugins/PluginAddlinkTest.php
@@ -4,6 +4,8 @@
4 * PluginPlayvideosTest.php 4 * PluginPlayvideosTest.php
5 */ 5 */
6 6
7use Shaarli\Router;
8
7require_once 'plugins/addlink_toolbar/addlink_toolbar.php'; 9require_once 'plugins/addlink_toolbar/addlink_toolbar.php';
8require_once 'application/Router.php'; 10require_once 'application/Router.php';
9 11
diff --git a/tests/plugins/PluginPlayvideosTest.php b/tests/plugins/PluginPlayvideosTest.php
index 29ad047f..7ee92400 100644
--- a/tests/plugins/PluginPlayvideosTest.php
+++ b/tests/plugins/PluginPlayvideosTest.php
@@ -4,6 +4,8 @@
4 * PluginPlayvideosTest.php 4 * PluginPlayvideosTest.php
5 */ 5 */
6 6
7use Shaarli\Router;
8
7require_once 'plugins/playvideos/playvideos.php'; 9require_once 'plugins/playvideos/playvideos.php';
8require_once 'application/Router.php'; 10require_once 'application/Router.php';
9 11
diff --git a/tests/plugins/PluginPubsubhubbubTest.php b/tests/plugins/PluginPubsubhubbubTest.php
index 69d00936..75f146f2 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\Router;
3 4
4require_once 'plugins/pubsubhubbub/pubsubhubbub.php'; 5require_once 'plugins/pubsubhubbub/pubsubhubbub.php';
5require_once 'application/Router.php'; 6require_once 'application/Router.php';
diff --git a/tests/plugins/PluginQrcodeTest.php b/tests/plugins/PluginQrcodeTest.php
index dd632eee..419965eb 100644
--- a/tests/plugins/PluginQrcodeTest.php
+++ b/tests/plugins/PluginQrcodeTest.php
@@ -3,6 +3,8 @@
3 * PluginQrcodeTest.php 3 * PluginQrcodeTest.php
4 */ 4 */
5 5
6use Shaarli\Router;
7
6require_once 'plugins/qrcode/qrcode.php'; 8require_once 'plugins/qrcode/qrcode.php';
7require_once 'application/Router.php'; 9require_once 'application/Router.php';
8 10