summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-12-10 12:55:01 +0100
committerVincent Petry <pvince81@owncloud.com>2014-12-10 13:05:31 +0100
commitebba54d4902113af3ad3f91159861f93546c8401 (patch)
treee27c3f4efc8dbae793344b6fb4e60f452d9cc229 /tests
parent5398bbdc003a93f8652b7c7a88bc80e7710996c9 (diff)
downloadnextcloud-server-ebba54d4902113af3ad3f91159861f93546c8401.tar.gz
nextcloud-server-ebba54d4902113af3ad3f91159861f93546c8401.zip
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';