aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Cache/TestCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Cache/TestCache.php')
-rw-r--r--tests/lib/Cache/TestCache.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Cache/TestCache.php b/tests/lib/Cache/TestCache.php
index 62341a5698b..9dfc46eb5a0 100644
--- a/tests/lib/Cache/TestCache.php
+++ b/tests/lib/Cache/TestCache.php
@@ -15,14 +15,14 @@ abstract class TestCache extends \Test\TestCase {
protected $instance;
protected function tearDown(): void {
- if($this->instance) {
+ if ($this->instance) {
$this->instance->clear();
}
parent::tearDown();
}
- function testSimple() {
+ public function testSimple() {
$this->assertNull($this->instance->get('value1'));
$this->assertFalse($this->instance->hasKey('value1'));
@@ -51,7 +51,7 @@ abstract class TestCache extends \Test\TestCase {
$this->assertFalse($this->instance->hasKey('value1'));
}
- function testClear() {
+ public function testClear() {
$value='ipsum lorum';
$this->instance->set('1_value1', $value . '1');
$this->instance->set('1_value2', $value . '2');