diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-26 15:08:39 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-09-26 15:08:39 +0200 |
commit | 8f60e1206e45e67c96a7630d4ff94e72fe875f09 (patch) | |
tree | 20621c50f6822c42589acffc45d475f46586c69d /tests/updater/UpdaterTest.php | |
parent | 24225f63324bd1118b008518abfc82a136ad997e (diff) | |
download | Shaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.tar.gz Shaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.tar.zst Shaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.zip |
Comply with PHPUnit V8: setup/teardown functions must return void
Diffstat (limited to 'tests/updater/UpdaterTest.php')
-rw-r--r-- | tests/updater/UpdaterTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/updater/UpdaterTest.php b/tests/updater/UpdaterTest.php index a7dd70bf..277f2fb0 100644 --- a/tests/updater/UpdaterTest.php +++ b/tests/updater/UpdaterTest.php | |||
@@ -42,7 +42,7 @@ class UpdaterTest extends TestCase | |||
42 | /** | 42 | /** |
43 | * Executed before each test. | 43 | * Executed before each test. |
44 | */ | 44 | */ |
45 | public function setUp() | 45 | protected function setUp(): void |
46 | { | 46 | { |
47 | $this->refDB = new \ReferenceLinkDB(); | 47 | $this->refDB = new \ReferenceLinkDB(); |
48 | $this->refDB->write(self::$testDatastore); | 48 | $this->refDB->write(self::$testDatastore); |