Skip to content

Commit

Permalink
Add missing delay in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-grzesiowski committed Jan 31, 2025
1 parent e949e83 commit e329551
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c-sharp-chat/PubnubChatApi/PubNubChatApi.Tests/ChatTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ public void TestGetUsers()
}

[Test]
public void TestGetChannels()
public async Task TestGetChannels()
{
await Task.Delay(3000);
var channels = chat.GetChannels();
Assert.True(channels.Channels.Any(x => x.Id == channel.Id));
}
Expand Down

0 comments on commit e329551

Please sign in to comment.