Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Dec 21, 2024
1 parent 938ea06 commit 315d34f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/XMTPTests/ConversationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ class ConversationTests: XCTestCase {
let convoCountConsent = try await fixtures.boClient.conversations
.syncAllConversations(consentState: .allowed)

XCTAssertEqual(convoCount, 2)
XCTAssertEqual(convoCountConsent, 2)
XCTAssertEqual(convoCount, 3)
XCTAssertEqual(convoCountConsent, 3)

try await group.updateConsentState(state: .denied)

Expand All @@ -104,8 +104,8 @@ class ConversationTests: XCTestCase {
let convoCountDenied = try await fixtures.boClient.conversations
.syncAllConversations(consentState: .denied)

XCTAssertEqual(convoCountAllowed, 1)
XCTAssertEqual(convoCountDenied, 1)
XCTAssertEqual(convoCountAllowed, 2)
XCTAssertEqual(convoCountDenied, 2)
}

func testCanListConversationsOrder() async throws {
Expand Down

0 comments on commit 315d34f

Please sign in to comment.