From 86e82831d53dc53fa899159693f32baba8d44968 Mon Sep 17 00:00:00 2001 From: Michael van Straten Date: Fri, 15 Sep 2023 11:44:15 +0200 Subject: [PATCH] Updated tests to reflect changes from redis 7.2.1 --- Tests/SwiftyRedisTests/ConnectionTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SwiftyRedisTests/ConnectionTests.swift b/Tests/SwiftyRedisTests/ConnectionTests.swift index e4b770a67..0bf112c89 100644 --- a/Tests/SwiftyRedisTests/ConnectionTests.swift +++ b/Tests/SwiftyRedisTests/ConnectionTests.swift @@ -51,7 +51,7 @@ final class ConnectionTests: XCTestCase { let connection = try await client.get_connection() let count: Int = try await connection.geoadd("Sincily", nil, .init(13.361389, 38.115556, "Palermo"), .init(15.087269, 37.502669, "Catania")) print(count) - let search: RedisValue = try await connection.geosearch("Sincily", .FROMLONLAT(.init(13, 38)), .BOX(.init(1000, 1000, .km)), .ASC, .init(2, []), [.WITHCOORD]) + let search: RedisValue = try await connection.geosearch("Sincily", .FROMLONLAT(.init(13, 38)), .BOX(.init(1000, 1000, .KM)), .ASC, .init(2, []), [.WITHCOORD]) print(search) }