/**
* Reset plugin path
*/
- function setUp()
+ public function setUp()
{
$this->instance = 'http://some.url';
}
/**
* Test WallabagInstance with API V1.
*/
- function testWallabagInstanceV1()
+ public function testWallabagInstanceV1()
{
$instance = new WallabagInstance($this->instance, 1);
$expected = $this->instance . '/?plainurl=';
/**
* Test WallabagInstance with API V2.
*/
- function testWallabagInstanceV2()
+ public function testWallabagInstanceV2()
{
$instance = new WallabagInstance($this->instance, 2);
$expected = $this->instance . '/bookmarklet?url=';
/**
* Test WallabagInstance with an invalid API version.
*/
- function testWallabagInstanceInvalidVersion()
+ public function testWallabagInstanceInvalidVersion()
{
$instance = new WallabagInstance($this->instance, false);
$expected = $this->instance . '/?plainurl=';