test update

DATAREDIS-107
This commit is contained in:
Costin Leau
2013-01-25 11:12:51 +02:00
parent b9645d64d1
commit 0365c69c08

View File

@@ -126,8 +126,8 @@ public class PubSubResubscribeTests {
anotherListener.afterPropertiesSet();
// remove adapter from all channels
container.removeMessageListener(adapter);
container.addMessageListener(anotherListener, new PatternTopic(PATTERN));
container.removeMessageListener(adapter);
// test no messages are sent just to patterns
assertEquals(ONE, template.convertAndSend(CHANNEL, payload1));