aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/render
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-26 15:08:39 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-26 15:08:39 +0200
commit8f60e1206e45e67c96a7630d4ff94e72fe875f09 (patch)
tree20621c50f6822c42589acffc45d475f46586c69d /tests/render
parent24225f63324bd1118b008518abfc82a136ad997e (diff)
downloadShaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.tar.gz
Shaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.tar.zst
Shaarli-8f60e1206e45e67c96a7630d4ff94e72fe875f09.zip
Comply with PHPUnit V8: setup/teardown functions must return void
Diffstat (limited to 'tests/render')
-rw-r--r--tests/render/PageCacheManagerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/render/PageCacheManagerTest.php b/tests/render/PageCacheManagerTest.php
index c258f45f..4aa7e179 100644
--- a/tests/render/PageCacheManagerTest.php
+++ b/tests/render/PageCacheManagerTest.php
@@ -29,7 +29,7 @@ class PageCacheManagerTest extends TestCase
29 /** 29 /**
30 * Populate the cache with dummy files 30 * Populate the cache with dummy files
31 */ 31 */
32 public function setUp() 32 protected function setUp(): void
33 { 33 {
34 $this->cacheManager = new PageCacheManager(static::$testCacheDir, true); 34 $this->cacheManager = new PageCacheManager(static::$testCacheDir, true);
35 35
@@ -48,7 +48,7 @@ class PageCacheManagerTest extends TestCase
48 /** 48 /**
49 * Remove dummycache folder after each tests. 49 * Remove dummycache folder after each tests.
50 */ 50 */
51 public function tearDown() 51 protected function tearDown(): void
52 { 52 {
53 array_map('unlink', glob(self::$testCacheDir . '/*')); 53 array_map('unlink', glob(self::$testCacheDir . '/*'));
54 rmdir(self::$testCacheDir); 54 rmdir(self::$testCacheDir);