diff options
author | Varun Patil <varunpatil@ucla.edu> | 2023-05-09 11:04:32 -0700 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-05-31 07:13:21 +0000 |
commit | 24875c02dbad1b413067e001f5f1a5945d4310ac (patch) | |
tree | 83fdc2c79ce924d1d46a195be0e1618016fde4be /tests | |
parent | 5b137a24988b9439626b5d3228fc613776605057 (diff) | |
download | nextcloud-server-24875c02dbad1b413067e001f5f1a5945d4310ac.tar.gz nextcloud-server-24875c02dbad1b413067e001f5f1a5945d4310ac.zip |
redis: move lua scripts to class and add type hints
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Memcache/RedisTest.php | 4 |
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]); } } |