Files
RediStack/Tests/RedisTypesTests/RedisTypesIntegrationTestCase.swift

27 lines
849 B
Swift

//===----------------------------------------------------------------------===//
//
// This source file is part of the RediStack open source project
//
// Copyright (c) 2020 Apple Inc. and the RediStack project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of RediStack project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import RediStackTestUtils
import class Foundation.ProcessInfo
class RedisTypesIntegrationTestCase: RedisIntegrationTestCase {
override var redisHostname: String {
ProcessInfo.processInfo.environment["REDIS_URL"] ?? "localhost"
}
override var redisPassword: String? {
ProcessInfo.processInfo.environment["REDIS_PW"]
}
}