Skip to content

Commit 191fdc5

Browse files
committed
test: update case
1 parent 1fac3b3 commit 191fdc5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

LeanCloudTests/IMConversationTestCase.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,16 @@ class IMConversationTestCase: RTMBaseTestCase {
269269
clientA.convCollection.first?.value.uniqueID,
270270
clientB.convCollection.first?.value.uniqueID
271271
)
272+
273+
expecting { (exp) in
274+
clientA.convCollection.first?.value.checkJoined(completion: { (result) in
275+
XCTAssertTrue(Thread.isMainThread)
276+
XCTAssertTrue(result.isSuccess)
277+
XCTAssertNil(result.error)
278+
XCTAssertEqual(result.value, true)
279+
exp.fulfill()
280+
})
281+
}
272282
}
273283

274284
func testCreateChatRoom() {

0 commit comments

Comments
 (0)