aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cache
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-05 18:21:28 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-05 18:21:28 +0200
commitfe99e60d827ba34dbc4bc5cbb7dd9368164ceed3 (patch)
tree304126b8a10985a8ab97ee47b86f95d93ae3ff6e /tests/cache
parente9dabb0903cfd58678fcbdd42e68faec0c86ccd2 (diff)
downloadforums-fe99e60d827ba34dbc4bc5cbb7dd9368164ceed3.tar
forums-fe99e60d827ba34dbc4bc5cbb7dd9368164ceed3.tar.gz
forums-fe99e60d827ba34dbc4bc5cbb7dd9368164ceed3.tar.bz2
forums-fe99e60d827ba34dbc4bc5cbb7dd9368164ceed3.tar.xz
forums-fe99e60d827ba34dbc4bc5cbb7dd9368164ceed3.zip
[ticket/12486] Make assertion on the return to remove "Risky" from phpunit
PHPBB3-12486
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/null_driver_test.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/cache/null_driver_test.php b/tests/cache/null_driver_test.php
index 58e57f2b3a..049d0412b6 100644
--- a/tests/cache/null_driver_test.php
+++ b/tests/cache/null_driver_test.php
@@ -35,14 +35,12 @@ class phpbb_cache_null_driver_test extends phpbb_database_test_case
public function test_purge()
{
- // does nothing
- $this->driver->purge();
+ $this->assertNull($this->driver->purge());
}
public function test_destroy()
{
- // does nothing
- $this->driver->destroy('foo');
+ $this->assertNull($this->driver->destroy('foo'));
}
public function test_cache_sql()