diff options
Diffstat (limited to 'tests/plugins/PluginIssoTest.php')
-rw-r--r-- | tests/plugins/PluginIssoTest.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/plugins/PluginIssoTest.php b/tests/plugins/PluginIssoTest.php index 6b7904dd..03def208 100644 --- a/tests/plugins/PluginIssoTest.php +++ b/tests/plugins/PluginIssoTest.php | |||
@@ -12,7 +12,7 @@ class PluginIssoTest extends PHPUnit_Framework_TestCase | |||
12 | /** | 12 | /** |
13 | * Reset plugin path | 13 | * Reset plugin path |
14 | */ | 14 | */ |
15 | function setUp() | 15 | public function setUp() |
16 | { | 16 | { |
17 | PluginManager::$PLUGINS_PATH = 'plugins'; | 17 | PluginManager::$PLUGINS_PATH = 'plugins'; |
18 | } | 18 | } |
@@ -20,7 +20,7 @@ class PluginIssoTest extends PHPUnit_Framework_TestCase | |||
20 | /** | 20 | /** |
21 | * Test Isso init without errors. | 21 | * Test Isso init without errors. |
22 | */ | 22 | */ |
23 | function testWallabagInitNoError() | 23 | public function testWallabagInitNoError() |
24 | { | 24 | { |
25 | $conf = new ConfigManager(''); | 25 | $conf = new ConfigManager(''); |
26 | $conf->set('plugins.ISSO_SERVER', 'value'); | 26 | $conf->set('plugins.ISSO_SERVER', 'value'); |
@@ -31,7 +31,7 @@ class PluginIssoTest extends PHPUnit_Framework_TestCase | |||
31 | /** | 31 | /** |
32 | * Test Isso init with errors. | 32 | * Test Isso init with errors. |
33 | */ | 33 | */ |
34 | function testWallabagInitError() | 34 | public function testWallabagInitError() |
35 | { | 35 | { |
36 | $conf = new ConfigManager(''); | 36 | $conf = new ConfigManager(''); |
37 | $errors = isso_init($conf); | 37 | $errors = isso_init($conf); |
@@ -41,7 +41,7 @@ class PluginIssoTest extends PHPUnit_Framework_TestCase | |||
41 | /** | 41 | /** |
42 | * Test render_linklist hook with valid settings to display the comment form. | 42 | * Test render_linklist hook with valid settings to display the comment form. |
43 | */ | 43 | */ |
44 | function testIssoDisplayed() | 44 | public function testIssoDisplayed() |
45 | { | 45 | { |
46 | $conf = new ConfigManager(''); | 46 | $conf = new ConfigManager(''); |
47 | $conf->set('plugins.ISSO_SERVER', 'value'); | 47 | $conf->set('plugins.ISSO_SERVER', 'value'); |
@@ -81,7 +81,7 @@ class PluginIssoTest extends PHPUnit_Framework_TestCase | |||
81 | /** | 81 | /** |
82 | * Test isso plugin when multiple links are displayed (shouldn't be displayed). | 82 | * Test isso plugin when multiple links are displayed (shouldn't be displayed). |
83 | */ | 83 | */ |
84 | function testIssoMultipleLinks() | 84 | public function testIssoMultipleLinks() |
85 | { | 85 | { |
86 | $conf = new ConfigManager(''); | 86 | $conf = new ConfigManager(''); |
87 | $conf->set('plugins.ISSO_SERVER', 'value'); | 87 | $conf->set('plugins.ISSO_SERVER', 'value'); |
@@ -113,7 +113,7 @@ class PluginIssoTest extends PHPUnit_Framework_TestCase | |||
113 | /** | 113 | /** |
114 | * Test isso plugin when using search (shouldn't be displayed). | 114 | * Test isso plugin when using search (shouldn't be displayed). |
115 | */ | 115 | */ |
116 | function testIssoNotDisplayedWhenSearch() | 116 | public function testIssoNotDisplayedWhenSearch() |
117 | { | 117 | { |
118 | $conf = new ConfigManager(''); | 118 | $conf = new ConfigManager(''); |
119 | $conf->set('plugins.ISSO_SERVER', 'value'); | 119 | $conf->set('plugins.ISSO_SERVER', 'value'); |
@@ -141,7 +141,7 @@ class PluginIssoTest extends PHPUnit_Framework_TestCase | |||
141 | /** | 141 | /** |
142 | * Test isso plugin without server configuration (shouldn't be displayed). | 142 | * Test isso plugin without server configuration (shouldn't be displayed). |
143 | */ | 143 | */ |
144 | function testIssoWithoutConf() | 144 | public function testIssoWithoutConf() |
145 | { | 145 | { |
146 | $data = 'abc'; | 146 | $data = 'abc'; |
147 | $conf = new ConfigManager(''); | 147 | $conf = new ConfigManager(''); |