aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2014-12-10 15:03:41 +0100
committerRobin Appelman <robin@icewind.nl>2014-12-10 15:03:41 +0100
commit3898fbc0d2d65785b8b132645c5bf99077d16818 (patch)
treeca72ffb2296d27f1b79c999c9d6436bf4159bda8 /tests
parentfd2599cfc2ae213d992b9711981f9899d314d0df (diff)
parentebba54d4902113af3ad3f91159861f93546c8401 (diff)
downloadnextcloud-server-3898fbc0d2d65785b8b132645c5bf99077d16818.tar.gz
nextcloud-server-3898fbc0d2d65785b8b132645c5bf99077d16818.zip
Merge pull request #12750 from owncloud/cache-numericstorageidfix
Fix numeric storage id for cache wrapper
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/cache/cache.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/files/cache/cache.php b/tests/lib/files/cache/cache.php
index 7360e9885c1..7e44cb898ac 100644
--- a/tests/lib/files/cache/cache.php
+++ b/tests/lib/files/cache/cache.php
@@ -35,6 +35,10 @@ class Cache extends \Test\TestCase {
*/
protected $cache2;
+ public function testGetNumericId() {
+ $this->assertNotNull($this->cache->getNumericStorageId());
+ }
+
public function testSimple() {
$file1 = 'foo';
$file2 = 'foo/bar';