mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/12486] Make assertion on the return to remove "Risky" from phpunit
PHPBB3-12486
This commit is contained in:
parent
e9dabb0903
commit
fe99e60d82
1 changed files with 2 additions and 4 deletions
6
tests/cache/null_driver_test.php
vendored
6
tests/cache/null_driver_test.php
vendored
|
@ -35,14 +35,12 @@ class phpbb_cache_null_driver_test extends phpbb_database_test_case
|
||||||
|
|
||||||
public function test_purge()
|
public function test_purge()
|
||||||
{
|
{
|
||||||
// does nothing
|
$this->assertNull($this->driver->purge());
|
||||||
$this->driver->purge();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_destroy()
|
public function test_destroy()
|
||||||
{
|
{
|
||||||
// does nothing
|
$this->assertNull($this->driver->destroy('foo'));
|
||||||
$this->driver->destroy('foo');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_cache_sql()
|
public function test_cache_sql()
|
||||||
|
|
Loading…
Add table
Reference in a new issue