diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:51:06 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:51:06 +0200 |
commit | 1584c9ae9c23d2a7915750ef9203cba0bcebf766 (patch) | |
tree | 568db931f631afd6e96772cf2b3ac539c989ec42 /tests/lib/Cache/TestCache.php | |
parent | a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (diff) | |
download | nextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.tar.gz nextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.zip |
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Cache/TestCache.php')
-rw-r--r-- | tests/lib/Cache/TestCache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Cache/TestCache.php b/tests/lib/Cache/TestCache.php index b7aa01f350f..9dfc46eb5a0 100644 --- a/tests/lib/Cache/TestCache.php +++ b/tests/lib/Cache/TestCache.php @@ -22,7 +22,7 @@ abstract class TestCache extends \Test\TestCase { 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'); |