Skip to content

Commit

Permalink
make sure the tests align
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Feb 13, 2024
1 parent 242bec2 commit ccceba2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tests/XMTPTests/GroupTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,17 @@ class GroupTests: XCTestCase {
try await fixtures.bobClient.conversations.sync()
let bobGroup = try await fixtures.bobClient.conversations.groups()[0]

try await aliceGroup.send(content: "sup gang original")
try await aliceGroup.send(content: "sup gang")

try await aliceGroup.sync()
let aliceGroupsCount = try await aliceGroup.messages().count
XCTAssertEqual(3, aliceGroupsCount)
let aliceMessage = try await aliceGroup.messages().last!

try await bobGroup.sync()
let bobGroupsCount = try await bobGroup.messages().count
XCTAssertEqual(2, bobGroupsCount)
let bobMessage = try await bobGroup.messages().last!

XCTAssertEqual("sup gang", try aliceMessage.content())
Expand Down

0 comments on commit ccceba2

Please sign in to comment.