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/legacy/LegacyLinkFilterTest.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/legacy/LegacyLinkFilterTest.php')
-rw-r--r-- | tests/legacy/LegacyLinkFilterTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/legacy/LegacyLinkFilterTest.php b/tests/legacy/LegacyLinkFilterTest.php index ba9ec529..8223cc15 100644 --- a/tests/legacy/LegacyLinkFilterTest.php +++ b/tests/legacy/LegacyLinkFilterTest.php | |||
@@ -34,7 +34,7 @@ class LegacyLinkFilterTest extends \PHPUnit\Framework\TestCase | |||
34 | /** | 34 | /** |
35 | * Instantiate linkFilter with ReferenceLinkDB data. | 35 | * Instantiate linkFilter with ReferenceLinkDB data. |
36 | */ | 36 | */ |
37 | public static function setUpBeforeClass() | 37 | public static function setUpBeforeClass(): void |
38 | { | 38 | { |
39 | self::$refDB = new ReferenceLinkDB(true); | 39 | self::$refDB = new ReferenceLinkDB(true); |
40 | self::$refDB->write(self::$testDatastore); | 40 | self::$refDB->write(self::$testDatastore); |