Skip to content

Commit fe99e60

Browse files
committed
[ticket/12486] Make assertion on the return to remove "Risky" from phpunit
PHPBB3-12486
1 parent e9dabb0 commit fe99e60

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/cache/null_driver_test.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,12 @@ public function test_get_put()
3535

3636
public function test_purge()
3737
{
38-
// does nothing
39-
$this->driver->purge();
38+
$this->assertNull($this->driver->purge());
4039
}
4140

4241
public function test_destroy()
4342
{
44-
// does nothing
45-
$this->driver->destroy('foo');
43+
$this->assertNull($this->driver->destroy('foo'));
4644
}
4745

4846
public function test_cache_sql()

0 commit comments

Comments
 (0)