diff options
Diffstat (limited to 'tests/render')
-rw-r--r-- | tests/render/PageCacheManagerTest.php | 4 |
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'); |