aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/plugins/PluginWallabagTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/PluginWallabagTest.php')
-rw-r--r--tests/plugins/PluginWallabagTest.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/plugins/PluginWallabagTest.php b/tests/plugins/PluginWallabagTest.php
index 2c268cbd..76b7887e 100644
--- a/tests/plugins/PluginWallabagTest.php
+++ b/tests/plugins/PluginWallabagTest.php
@@ -1,4 +1,5 @@
1<?php 1<?php
2use Shaarli\Config\ConfigManager;
2 3
3/** 4/**
4 * PluginWallabagTest.php.php 5 * PluginWallabagTest.php.php
@@ -15,7 +16,7 @@ class PluginWallabagTest extends PHPUnit_Framework_TestCase
15 /** 16 /**
16 * Reset plugin path 17 * Reset plugin path
17 */ 18 */
18 function setUp() 19 public function setUp()
19 { 20 {
20 PluginManager::$PLUGINS_PATH = 'plugins'; 21 PluginManager::$PLUGINS_PATH = 'plugins';
21 } 22 }
@@ -23,7 +24,7 @@ class PluginWallabagTest extends PHPUnit_Framework_TestCase
23 /** 24 /**
24 * Test wallabag init without errors. 25 * Test wallabag init without errors.
25 */ 26 */
26 function testWallabagInitNoError() 27 public function testWallabagInitNoError()
27 { 28 {
28 $conf = new ConfigManager(''); 29 $conf = new ConfigManager('');
29 $conf->set('plugins.WALLABAG_URL', 'value'); 30 $conf->set('plugins.WALLABAG_URL', 'value');
@@ -34,7 +35,7 @@ class PluginWallabagTest extends PHPUnit_Framework_TestCase
34 /** 35 /**
35 * Test wallabag init with errors. 36 * Test wallabag init with errors.
36 */ 37 */
37 function testWallabagInitError() 38 public function testWallabagInitError()
38 { 39 {
39 $conf = new ConfigManager(''); 40 $conf = new ConfigManager('');
40 $errors = wallabag_init($conf); 41 $errors = wallabag_init($conf);
@@ -44,7 +45,7 @@ class PluginWallabagTest extends PHPUnit_Framework_TestCase
44 /** 45 /**
45 * Test render_linklist hook. 46 * Test render_linklist hook.
46 */ 47 */
47 function testWallabagLinklist() 48 public function testWallabagLinklist()
48 { 49 {
49 $conf = new ConfigManager(''); 50 $conf = new ConfigManager('');
50 $conf->set('plugins.WALLABAG_URL', 'value'); 51 $conf->set('plugins.WALLABAG_URL', 'value');