test: 完善测试
parent
48b0de3301
commit
4be550cf40
|
@ -38,7 +38,7 @@ namespace Realtime.Test {
|
||||||
public async Task QueryMemberConversation() {
|
public async Task QueryMemberConversation() {
|
||||||
string memberId = "cc1";
|
string memberId = "cc1";
|
||||||
LCIMConversationQuery query = new LCIMConversationQuery(client);
|
LCIMConversationQuery query = new LCIMConversationQuery(client);
|
||||||
query.WhereContains("m", memberId);
|
query.WhereEqualTo("m", memberId);
|
||||||
ReadOnlyCollection<LCIMConversation> conversations = await query.Find();
|
ReadOnlyCollection<LCIMConversation> conversations = await query.Find();
|
||||||
Assert.Greater(conversations.Count, 0);
|
Assert.Greater(conversations.Count, 0);
|
||||||
foreach (LCIMConversation conversation in conversations) {
|
foreach (LCIMConversation conversation in conversations) {
|
||||||
|
|
Loading…
Reference in New Issue