Skip to content

Commit

Permalink
fix up non compiling tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Feb 13, 2024
1 parent 70c59ff commit 90b6782
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/XMTPTests/GroupTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class GroupTests: XCTestCase {
let group = try await fixtures.aliceClient.conversations.newGroup(with: [fixtures.bob.address])

try await group.sync()
let members = group.members.map(\.localizedLowercase).sorted()
let members = group.memberAddresses.map(\.localizedLowercase).sorted()

XCTAssertEqual([fixtures.bob.address.localizedLowercase, fixtures.alice.address.localizedLowercase].sorted(), members)
}
Expand All @@ -120,7 +120,7 @@ class GroupTests: XCTestCase {
try await group.addMembers(addresses: [fixtures.fred.address])

try await group.sync()
let members = group.members.map(\.localizedLowercase).sorted()
let members = group.memberAddresses.map(\.localizedLowercase).sorted()

XCTAssertEqual([
fixtures.bob.address.localizedLowercase,
Expand All @@ -137,7 +137,7 @@ class GroupTests: XCTestCase {
let group = try await fixtures.aliceClient.conversations.newGroup(with: [fixtures.bob.address, fixtures.fred.address])

try await group.sync()
let members = group.members.map(\.localizedLowercase).sorted()
let members = group.memberAddresses.map(\.localizedLowercase).sorted()

XCTAssertEqual([
fixtures.bob.address.localizedLowercase,
Expand All @@ -149,7 +149,7 @@ class GroupTests: XCTestCase {

try await group.sync()

let newMembers = group.members.map(\.localizedLowercase).sorted()
let newMembers = group.memberAddresses.map(\.localizedLowercase).sorted()
XCTAssertEqual([
fixtures.bob.address.localizedLowercase,
fixtures.alice.address.localizedLowercase,
Expand Down

0 comments on commit 90b6782

Please sign in to comment.