mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-25 17:25:18 +02:00
Fix pod lib lint by passing buildVariant in tests to avoid deprecated constructor
This commit is contained in:
@@ -77,7 +77,7 @@ final class KeyTransparencyTests: TestCaseBase {
|
||||
func testUnknownDistinguished() async throws {
|
||||
try self.nonHermeticTest()
|
||||
|
||||
let net = Net(env: .staging, userAgent: userAgent)
|
||||
let net = Net(env: .staging, userAgent: userAgent, buildVariant: .production)
|
||||
let chat = try await net.connectUnauthenticatedChat()
|
||||
chat.start(listener: NoOpListener())
|
||||
|
||||
@@ -87,7 +87,7 @@ final class KeyTransparencyTests: TestCaseBase {
|
||||
func testSearch() async throws {
|
||||
try self.nonHermeticTest()
|
||||
|
||||
let net = Net(env: .staging, userAgent: userAgent)
|
||||
let net = Net(env: .staging, userAgent: userAgent, buildVariant: .production)
|
||||
let chat = try await net.connectUnauthenticatedChat()
|
||||
chat.start(listener: NoOpListener())
|
||||
let store = TestStore()
|
||||
@@ -106,7 +106,7 @@ final class KeyTransparencyTests: TestCaseBase {
|
||||
func testMonitor() async throws {
|
||||
try self.nonHermeticTest()
|
||||
|
||||
let net = Net(env: .staging, userAgent: userAgent)
|
||||
let net = Net(env: .staging, userAgent: userAgent, buildVariant: .production)
|
||||
let chat = try await net.connectUnauthenticatedChat()
|
||||
chat.start(listener: NoOpListener())
|
||||
let store = TestStore()
|
||||
|
||||
Reference in New Issue
Block a user