mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/9983] Add a test for destroy.
PHPBB3-9983
This commit is contained in:
6
tests/cache/null_driver_test.php
vendored
6
tests/cache/null_driver_test.php
vendored
@@ -39,6 +39,12 @@ class phpbb_cache_null_driver_test extends phpbb_database_test_case
|
||||
$this->driver->purge();
|
||||
}
|
||||
|
||||
public function test_destroy()
|
||||
{
|
||||
// does nothing
|
||||
$this->driver->destroy('foo');
|
||||
}
|
||||
|
||||
public function test_cache_sql()
|
||||
{
|
||||
global $db, $cache;
|
||||
|
Reference in New Issue
Block a user