From 8f60e1206e45e67c96a7630d4ff94e72fe875f09 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 26 Sep 2020 15:08:39 +0200 Subject: Comply with PHPUnit V8: setup/teardown functions must return void --- tests/plugins/WallabagInstanceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/plugins/WallabagInstanceTest.php') diff --git a/tests/plugins/WallabagInstanceTest.php b/tests/plugins/WallabagInstanceTest.php index a3cd9076..4cb0d4cc 100644 --- a/tests/plugins/WallabagInstanceTest.php +++ b/tests/plugins/WallabagInstanceTest.php @@ -14,7 +14,7 @@ class WallabagInstanceTest extends \PHPUnit\Framework\TestCase /** * Reset plugin path */ - public function setUp() + protected function setUp(): void { $this->instance = 'http://some.url'; } -- cgit v1.2.3 From a5a9cf23acd1248585173aa32757d9720b5f2d62 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 29 Sep 2020 14:41:40 +0200 Subject: Compatibility with PHPUnit 9 --- tests/plugins/WallabagInstanceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/plugins/WallabagInstanceTest.php') diff --git a/tests/plugins/WallabagInstanceTest.php b/tests/plugins/WallabagInstanceTest.php index 4cb0d4cc..5ef3de1a 100644 --- a/tests/plugins/WallabagInstanceTest.php +++ b/tests/plugins/WallabagInstanceTest.php @@ -4,7 +4,7 @@ namespace Shaarli\Plugin\Wallabag; /** * Class WallabagInstanceTest */ -class WallabagInstanceTest extends \PHPUnit\Framework\TestCase +class WallabagInstanceTest extends \Shaarli\TestCase { /** * @var string wallabag url. -- cgit v1.2.3