aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/plugins/WallabagInstanceTest.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2017-01-05 19:33:06 +0100
committerVirtualTam <virtualtam+github@flibidi.net>2017-01-05 19:52:04 +0100
commit93b1fe54fb99efff30eec0d405cc7319fbbc1f95 (patch)
tree21d2aa9b09c1944e19a4f8fe4741277a3213cc5b /tests/plugins/WallabagInstanceTest.php
parent724f1e322943b0506a4a4f17e78eaf4b2e464553 (diff)
downloadShaarli-93b1fe54fb99efff30eec0d405cc7319fbbc1f95.tar.gz
Shaarli-93b1fe54fb99efff30eec0d405cc7319fbbc1f95.tar.zst
Shaarli-93b1fe54fb99efff30eec0d405cc7319fbbc1f95.zip
Cleanup: explicit method visibility
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/plugins/WallabagInstanceTest.php')
-rw-r--r--tests/plugins/WallabagInstanceTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/plugins/WallabagInstanceTest.php b/tests/plugins/WallabagInstanceTest.php
index 7c14c1df..2c466871 100644
--- a/tests/plugins/WallabagInstanceTest.php
+++ b/tests/plugins/WallabagInstanceTest.php
@@ -15,7 +15,7 @@ class WallabagInstanceTest extends PHPUnit_Framework_TestCase
15 /** 15 /**
16 * Reset plugin path 16 * Reset plugin path
17 */ 17 */
18 function setUp() 18 public function setUp()
19 { 19 {
20 $this->instance = 'http://some.url'; 20 $this->instance = 'http://some.url';
21 } 21 }
@@ -23,7 +23,7 @@ class WallabagInstanceTest extends PHPUnit_Framework_TestCase
23 /** 23 /**
24 * Test WallabagInstance with API V1. 24 * Test WallabagInstance with API V1.
25 */ 25 */
26 function testWallabagInstanceV1() 26 public function testWallabagInstanceV1()
27 { 27 {
28 $instance = new WallabagInstance($this->instance, 1); 28 $instance = new WallabagInstance($this->instance, 1);
29 $expected = $this->instance . '/?plainurl='; 29 $expected = $this->instance . '/?plainurl=';
@@ -34,7 +34,7 @@ class WallabagInstanceTest extends PHPUnit_Framework_TestCase
34 /** 34 /**
35 * Test WallabagInstance with API V2. 35 * Test WallabagInstance with API V2.
36 */ 36 */
37 function testWallabagInstanceV2() 37 public function testWallabagInstanceV2()
38 { 38 {
39 $instance = new WallabagInstance($this->instance, 2); 39 $instance = new WallabagInstance($this->instance, 2);
40 $expected = $this->instance . '/bookmarklet?url='; 40 $expected = $this->instance . '/bookmarklet?url=';
@@ -45,7 +45,7 @@ class WallabagInstanceTest extends PHPUnit_Framework_TestCase
45 /** 45 /**
46 * Test WallabagInstance with an invalid API version. 46 * Test WallabagInstance with an invalid API version.
47 */ 47 */
48 function testWallabagInstanceInvalidVersion() 48 public function testWallabagInstanceInvalidVersion()
49 { 49 {
50 $instance = new WallabagInstance($this->instance, false); 50 $instance = new WallabagInstance($this->instance, false);
51 $expected = $this->instance . '/?plainurl='; 51 $expected = $this->instance . '/?plainurl=';