unsubscribe on batch publisher test

This commit is contained in:
Simon Martín 2018-02-08 17:59:28 +01:00
parent cd3c5f19e2
commit dd07a21c98

View File

@ -27,7 +27,8 @@ describe('job publisher', function() {
client.on('message', function (channel, host) {
assert.equal(host, HOST);
assert.equal(channel, Channel.NAME) ;
assert.equal(channel, Channel.NAME);
client.unsubscribe(Channel.NAME);
done();
});