Skip to content

Commit

Permalink
add additional test
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Feb 29, 2024
1 parent 6e64a96 commit 229c1ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Tests/XMTPTests/GroupTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ class GroupTests: XCTestCase {
let fixtures = try await localFixtures()

let expectation1 = expectation(description: "got a conversation")
expectation1.expectedFulfillmentCount = 2
expectation1.expectedFulfillmentCount = 4
let convo = try await fixtures.bobClient.conversations.newConversation(with: fixtures.alice.address)
let group = try await fixtures.bobClient.conversations.newGroup(with: [fixtures.alice.address])
try await fixtures.aliceClient.conversations.sync()
Expand All @@ -427,6 +427,12 @@ class GroupTests: XCTestCase {

try await group.send(content: "hi")
try await convo.send(content: "hi")

let group2 = try await fixtures.fredClient.conversations.newGroup(with: [fixtures.alice.address])
let convo2 = try await fixtures.fredClient.conversations.newConversation(with: fixtures.alice.address)

try await group2.send(content: "hi")
try await convo2.send(content: "hi")

await waitForExpectations(timeout: 3)
}
Expand Down

0 comments on commit 229c1ae

Please sign in to comment.