summaryrefslogtreecommitdiffstats
path: root/tests/lib/Cache/CappedMemoryCacheTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Cache/CappedMemoryCacheTest.php')
-rw-r--r--tests/lib/Cache/CappedMemoryCacheTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Cache/CappedMemoryCacheTest.php b/tests/lib/Cache/CappedMemoryCacheTest.php
index 00231004fe5..db0d2bd1193 100644
--- a/tests/lib/Cache/CappedMemoryCacheTest.php
+++ b/tests/lib/Cache/CappedMemoryCacheTest.php
@@ -49,7 +49,7 @@ class CappedMemoryCacheTest extends TestCache {
$this->assertTrue($instance->hasKey('5'));
}
- function testClear() {
+ public function testClear() {
$value = 'ipsum lorum';
$this->instance->set('1_value1', $value);
$this->instance->set('1_value2', $value);
@@ -63,7 +63,7 @@ class CappedMemoryCacheTest extends TestCache {
$this->assertFalse($this->instance->hasKey('3_value1'));
}
- function testIndirectSet() {
+ public function testIndirectSet() {
$this->instance->set('array', []);
$this->instance['array'][] = 'foo';