diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-05-07 19:17:33 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-05-07 19:17:33 +0200 |
commit | 01e942d44c7194607649817216aeb5d65c6acad6 (patch) | |
tree | 15777aa1005251f119e6dd680291147117766b5b /tests/CacheTest.php | |
parent | bc22c9a0acb095970e9494cbe8954f0612e05dc0 (diff) | |
parent | 8868f3ca461011a8fb6dd9f90b60ed697ab52fc5 (diff) | |
download | Shaarli-01e942d44c7194607649817216aeb5d65c6acad6.tar.gz Shaarli-01e942d44c7194607649817216aeb5d65c6acad6.tar.zst Shaarli-01e942d44c7194607649817216aeb5d65c6acad6.zip |
Merge tag 'v0.8.4' into stable
Release v0.8.4
Diffstat (limited to 'tests/CacheTest.php')
-rw-r--r-- | tests/CacheTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/CacheTest.php b/tests/CacheTest.php index 26c43225..992e26a5 100644 --- a/tests/CacheTest.php +++ b/tests/CacheTest.php | |||
@@ -64,10 +64,13 @@ class CacheTest extends PHPUnit_Framework_TestCase | |||
64 | */ | 64 | */ |
65 | public function testPurgeCachedPagesMissingDir() | 65 | public function testPurgeCachedPagesMissingDir() |
66 | { | 66 | { |
67 | $oldlog = ini_get('error_log'); | ||
68 | ini_set('error_log', '/dev/null'); | ||
67 | $this->assertEquals( | 69 | $this->assertEquals( |
68 | 'Cannot purge sandbox/dummycache_missing: no directory', | 70 | 'Cannot purge sandbox/dummycache_missing: no directory', |
69 | purgeCachedPages(self::$testCacheDir.'_missing') | 71 | purgeCachedPages(self::$testCacheDir.'_missing') |
70 | ); | 72 | ); |
73 | ini_set('error_log', $oldlog); | ||
71 | } | 74 | } |
72 | 75 | ||
73 | /** | 76 | /** |