Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 4f9d2c5

Browse files
committed
fix wildcard pub-sub test
1 parent 7a05c4d commit 4f9d2c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ServiceStack.Redis.Tests/RedisPubSubTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public void Can_Subscribe_and_Publish_single_message_using_wildcard()
9191
subscription.OnMessage = (channel, msg) =>
9292
{
9393
Log("Received '{0}' from channel '{1}'", msg, channel);
94-
Assert.That(channel, Is.EqualTo(channelWildcard));
94+
Assert.That(channel, Is.EqualTo(channelName));
9595
Assert.That(msg, Is.EqualTo(message), "we should get the message, not the channel");
96-
subscription.UnSubscribeFromAllChannels();
96+
subscription.UnSubscribeFromChannelsMatching();
9797
};
9898

9999
ThreadPool.QueueUserWorkItem(x =>

0 commit comments

Comments
 (0)