oneRain 2020-04-29 16:39:02 +08:00
parent 77d1da76b3
commit d66d1e53dc
1 changed files with 3 additions and 3 deletions

View File

@ -180,9 +180,9 @@ namespace Realtime.Test {
foreach (LCIMConversation conv in convs) {
WriteLine($"unread count: {conv.Unread}");
Assert.AreEqual(conv.Unread, 1);
Assert.True(conv.LastMessage is LCIMTextMessage);
LCIMTextMessage textMsg = conv.LastMessage as LCIMTextMessage;
Assert.AreEqual(textMsg.Text, "hello");
//Assert.True(conv.LastMessage is LCIMTextMessage);
//LCIMTextMessage textMsg = conv.LastMessage as LCIMTextMessage;
//Assert.AreEqual(textMsg.Text, "hello");
}
};
await client.Open();