Skip to content

Commit

Permalink
Ensure that the main channel is still suspended after the client leaves.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Oct 11, 2023
1 parent 5220e18 commit 9a11e43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Test/Tests/RealtimeClientPresenceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,7 @@ class RealtimeClientPresenceTests: XCTestCase {
}
leavesChannel.presence.leave(nil) { error in
XCTAssertNil(error)
XCTAssertEqual(mainChannel.state, .suspended)
partialDone()
}
partialDone()
Expand Down

0 comments on commit 9a11e43

Please sign in to comment.