aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/render/PageCacheManagerTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-05-17 14:16:32 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commitc4d5be53c2ae503c00da3cfe6b28d0ce9d2ca7f5 (patch)
tree2aa6b156d45da7a1bb3cfe0b6e8622030fddb990 /tests/render/PageCacheManagerTest.php
parente3d28be9673a9f8404ff907b8191209729ad690c (diff)
downloadShaarli-c4d5be53c2ae503c00da3cfe6b28d0ce9d2ca7f5.tar.gz
Shaarli-c4d5be53c2ae503c00da3cfe6b28d0ce9d2ca7f5.tar.zst
Shaarli-c4d5be53c2ae503c00da3cfe6b28d0ce9d2ca7f5.zip
Process Daily RSS feed through Slim controller
The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
Diffstat (limited to 'tests/render/PageCacheManagerTest.php')
-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 991515d0..b870e6eb 100644
--- a/tests/render/PageCacheManagerTest.php
+++ b/tests/render/PageCacheManagerTest.php
@@ -32,7 +32,7 @@ class PageCacheManagerTest extends TestCase
32 */ 32 */
33 public function setUp() 33 public function setUp()
34 { 34 {
35 $this->cacheManager = new PageCacheManager(static::$testCacheDir); 35 $this->cacheManager = new PageCacheManager(static::$testCacheDir, true);
36 36
37 if (!is_dir(self::$testCacheDir)) { 37 if (!is_dir(self::$testCacheDir)) {
38 mkdir(self::$testCacheDir); 38 mkdir(self::$testCacheDir);
@@ -73,7 +73,7 @@ class PageCacheManagerTest extends TestCase
73 */ 73 */
74 public function testPurgeCachedPagesMissingDir() 74 public function testPurgeCachedPagesMissingDir()
75 { 75 {
76 $this->cacheManager = new PageCacheManager(self::$testCacheDir . '_missing'); 76 $this->cacheManager = new PageCacheManager(self::$testCacheDir . '_missing', true);
77 77
78 $oldlog = ini_get('error_log'); 78 $oldlog = ini_get('error_log');
79 ini_set('error_log', '/dev/null'); 79 ini_set('error_log', '/dev/null');