aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/plugins/PluginAddlinkTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/PluginAddlinkTest.php')
-rw-r--r--tests/plugins/PluginAddlinkTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/plugins/PluginAddlinkTest.php b/tests/plugins/PluginAddlinkTest.php
index d052f8b9..4018c1a8 100644
--- a/tests/plugins/PluginAddlinkTest.php
+++ b/tests/plugins/PluginAddlinkTest.php
@@ -2,7 +2,7 @@
2namespace Shaarli\Plugin\Addlink; 2namespace Shaarli\Plugin\Addlink;
3 3
4use Shaarli\Plugin\PluginManager; 4use Shaarli\Plugin\PluginManager;
5use Shaarli\Router; 5use Shaarli\Render\TemplatePage;
6 6
7require_once 'plugins/addlink_toolbar/addlink_toolbar.php'; 7require_once 'plugins/addlink_toolbar/addlink_toolbar.php';
8 8
@@ -26,7 +26,7 @@ class PluginAddlinkTest extends \PHPUnit\Framework\TestCase
26 { 26 {
27 $str = 'stuff'; 27 $str = 'stuff';
28 $data = array($str => $str); 28 $data = array($str => $str);
29 $data['_PAGE_'] = Router::$PAGE_LINKLIST; 29 $data['_PAGE_'] = TemplatePage::LINKLIST;
30 $data['_LOGGEDIN_'] = true; 30 $data['_LOGGEDIN_'] = true;
31 31
32 $data = hook_addlink_toolbar_render_header($data); 32 $data = hook_addlink_toolbar_render_header($data);
@@ -48,7 +48,7 @@ class PluginAddlinkTest extends \PHPUnit\Framework\TestCase
48 { 48 {
49 $str = 'stuff'; 49 $str = 'stuff';
50 $data = array($str => $str); 50 $data = array($str => $str);
51 $data['_PAGE_'] = Router::$PAGE_LINKLIST; 51 $data['_PAGE_'] = TemplatePage::LINKLIST;
52 $data['_LOGGEDIN_'] = false; 52 $data['_LOGGEDIN_'] = false;
53 53
54 $data = hook_addlink_toolbar_render_header($data); 54 $data = hook_addlink_toolbar_render_header($data);