summaryrefslogtreecommitdiffstats
path: root/tests/lib/Memcache/RedisTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Memcache/RedisTest.php')
-rw-r--r--tests/lib/Memcache/RedisTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/Memcache/RedisTest.php b/tests/lib/Memcache/RedisTest.php
index 276dbf3a550..b94b69a5e6a 100644
--- a/tests/lib/Memcache/RedisTest.php
+++ b/tests/lib/Memcache/RedisTest.php
@@ -56,4 +56,10 @@ class RedisTest extends Cache {
parent::setUp();
$this->instance = new \OC\Memcache\Redis($this->getUniqueID());
}
+
+ public function testScriptHashes() {
+ foreach (\OC\Memcache\Redis::LUA_SCRIPTS as $script) {
+ $this->assertEquals(sha1($script[0]), $script[1]);
+ }
+ }
}