summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Memcache/RedisTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/Memcache/RedisTest.php b/tests/lib/Memcache/RedisTest.php
index 9e40698ec06..b94b69a5e6a 100644
--- a/tests/lib/Memcache/RedisTest.php
+++ b/tests/lib/Memcache/RedisTest.php
@@ -9,8 +9,6 @@
namespace Test\Memcache;
-use const OC\Memcache\LUA_SCRIPTS;
-
/**
* @group Memcache
* @group Redis
@@ -60,7 +58,7 @@ class RedisTest extends Cache {
}
public function testScriptHashes() {
- foreach (LUA_SCRIPTS as $script) {
+ foreach (\OC\Memcache\Redis::LUA_SCRIPTS as $script) {
$this->assertEquals(sha1($script[0]), $script[1]);
}
}