Fix pod lib lint by passing buildVariant in tests to avoid deprecated constructor

This commit is contained in:
andrew-signal
2025-10-01 19:29:33 -04:00
committed by GitHub
parent 2bc167b5a2
commit 321190ad01
4 changed files with 13 additions and 13 deletions

View File

@@ -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()