diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
commit | 83faedadff76c5bdca036f39f13943f63b27e164 (patch) | |
tree | 6f44cede16ec6a60f10b9699e211e0818f06d2c8 /tests/plugins/WallabagInstanceTest.php | |
parent | 1d9eb22a3df85b67fe6652c0876cd7382c2fb525 (diff) | |
parent | 658988f3aeba7a5a938783249ccf2765251e5597 (diff) | |
download | Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.gz Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.zst Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.zip |
Merge tag 'v0.9.7' into stable
Release v0.9.7
Diffstat (limited to 'tests/plugins/WallabagInstanceTest.php')
-rw-r--r-- | tests/plugins/WallabagInstanceTest.php | 8 |
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='; |