aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cache/null_driver_test.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-12-01 18:53:13 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-12-01 18:55:13 -0500
commitd9e636fab0b1c2de36e38e7bdd3498711108a0e6 (patch)
treec9a39f2b43f84779d0e53dc334f78849727d9043 /tests/cache/null_driver_test.php
parent90bd7858fdf418c45bac1b30a4dc634cd23f5247 (diff)
downloadforums-d9e636fab0b1c2de36e38e7bdd3498711108a0e6.tar
forums-d9e636fab0b1c2de36e38e7bdd3498711108a0e6.tar.gz
forums-d9e636fab0b1c2de36e38e7bdd3498711108a0e6.tar.bz2
forums-d9e636fab0b1c2de36e38e7bdd3498711108a0e6.tar.xz
forums-d9e636fab0b1c2de36e38e7bdd3498711108a0e6.zip
[ticket/9983] Add a purge test.
PHPBB3-9983
Diffstat (limited to 'tests/cache/null_driver_test.php')
-rw-r--r--tests/cache/null_driver_test.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cache/null_driver_test.php b/tests/cache/null_driver_test.php
index a9b40c5f40..1e8b254294 100644
--- a/tests/cache/null_driver_test.php
+++ b/tests/cache/null_driver_test.php
@@ -33,6 +33,12 @@ class phpbb_cache_null_driver_test extends phpbb_database_test_case
$this->assertSame(false, $this->driver->get('key'));
}
+ public function test_purge()
+ {
+ // does nothing
+ $this->driver->purge();
+ }
+
public function test_cache_sql()
{
global $db, $cache;