From 9a11e4383d16fd72c65554a7a65123283bde0788 Mon Sep 17 00:00:00 2001 From: Marat Al Date: Thu, 12 Oct 2023 01:19:00 +0200 Subject: [PATCH] Ensure that the main channel is still suspended after the client leaves. --- Test/Tests/RealtimeClientPresenceTests.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Test/Tests/RealtimeClientPresenceTests.swift b/Test/Tests/RealtimeClientPresenceTests.swift index 96c45ee24..f2125d054 100644 --- a/Test/Tests/RealtimeClientPresenceTests.swift +++ b/Test/Tests/RealtimeClientPresenceTests.swift @@ -829,6 +829,7 @@ class RealtimeClientPresenceTests: XCTestCase { } leavesChannel.presence.leave(nil) { error in XCTAssertNil(error) + XCTAssertEqual(mainChannel.state, .suspended) partialDone() } partialDone()