File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1831,6 +1831,8 @@ class IMConversationTestCase: RTMBaseTestCase {
18311831 } )
18321832 }
18331833
1834+ delay ( )
1835+
18341836 expecting { ( exp) in
18351837 let convB = clientB. convCollection. values. first
18361838 XCTAssertNil ( convB? . memberInfoTable)
@@ -1842,6 +1844,17 @@ class IMConversationTestCase: RTMBaseTestCase {
18421844 } )
18431845 }
18441846
1847+ expecting { ( exp) in
1848+ convA? . fetchMemberInfoTable ( completion: { ( result) in
1849+ XCTAssertTrue ( Thread . isMainThread)
1850+ XCTAssertTrue ( result. isSuccess)
1851+ XCTAssertNil ( result. error)
1852+ XCTAssertNotNil ( convA? . memberInfoTable)
1853+ XCTAssertEqual ( convA? . memberInfoTable? . count, 1 )
1854+ exp. fulfill ( )
1855+ } )
1856+ }
1857+
18451858 multiExpecting ( expectations: { ( ) -> [ XCTestExpectation ] in
18461859 let exp = self . expectation ( description: " change member role to member " )
18471860 exp. expectedFulfillmentCount = 2
You can’t perform that action at this time.
0 commit comments