Skip to content

Commit a50d96b

Browse files
committed
change to redis
Signed-off-by: zunda <zunda.dev@gmail.com>
1 parent 4bdf840 commit a50d96b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/IntegrationTests/CommandIntegrationTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ struct CommandIntegratedTests {
157157
}
158158

159159
@available(valkeySwift 1.0, *)
160-
@Test(.disabled("failed in redis"))
160+
@Test
161161
func testFUNCTIONLIST() async throws {
162162
var logger = Logger(label: "Valkey")
163163
logger.logLevel = .trace
@@ -175,8 +175,8 @@ struct CommandIntegratedTests {
175175
return redis.call("SET", keys[1], args[1])
176176
end
177177
178-
server.register_function('valkey_swift_test_set', test_set)
179-
server.register_function('valkey_swift_test_get', test_get)
178+
redis.register_function('valkey_swift_test_set', test_set)
179+
redis.register_function('valkey_swift_test_get', test_get)
180180
"""
181181
)
182182
let list = try await client.functionList(libraryNamePattern: "_valkey_swift_tests", withcode: true)

0 commit comments

Comments
 (0)