From 90b6782278ad008c839905194a885af62a745f28 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Mon, 12 Feb 2024 22:35:46 -0800 Subject: [PATCH] fix up non compiling tests --- Tests/XMTPTests/GroupTests.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/XMTPTests/GroupTests.swift b/Tests/XMTPTests/GroupTests.swift index 0a6c3524..b8f0cf5f 100644 --- a/Tests/XMTPTests/GroupTests.swift +++ b/Tests/XMTPTests/GroupTests.swift @@ -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) } @@ -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, @@ -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, @@ -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,