From fe99e60d827ba34dbc4bc5cbb7dd9368164ceed3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 5 May 2014 18:21:28 +0200 Subject: [PATCH] [ticket/12486] Make assertion on the return to remove "Risky" from phpunit PHPBB3-12486 --- tests/cache/null_driver_test.php | 6 ++---- 1 file 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()