We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9bc34 commit 93c032fCopy full SHA for 93c032f
c-sharp-chat/PubnubChatApi/PubNubChatApi.Tests/ChatTests.cs
@@ -200,7 +200,12 @@ public async Task TestMarkAllMessagesAsRead()
200
201
await Task.Delay(4000);
202
203
- Assert.True(TestUtils.AssertOperation(await chat.GetUnreadMessagesCounts()).Any(x => x.ChannelId == markTestChannel.Id && x.Count > 0));
+ var unread = TestUtils.AssertOperation(await chat.GetUnreadMessagesCounts());
204
+ foreach (var wrapper in unread)
205
+ {
206
+ Console.WriteLine($"{wrapper.ChannelId}:{wrapper.Count}");
207
+ }
208
+ Assert.True(unread.Any(x => x.ChannelId == markTestChannel.Id && x.Count > 0));
209
210
TestUtils.AssertOperation(await chat.MarkAllMessagesAsRead());
211
0 commit comments