mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/9983] Add a purge test.
PHPBB3-9983
This commit is contained in:
6
tests/cache/null_driver_test.php
vendored
6
tests/cache/null_driver_test.php
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user