From 7b12b09c032189704f2aef0921c7087714a2b1fe Mon Sep 17 00:00:00 2001 From: Mirko Geissler Date: Wed, 14 Oct 2015 17:11:45 +0200 Subject: [PATCH] Fix pubcomp test for mqtt 3.1.1 compatibility --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index ed637ff..a0b7c4c 100644 --- a/test.js +++ b/test.js @@ -522,12 +522,12 @@ testParseGenerate('pubrel', { testParseGenerate('pubcomp', { cmd: 'pubcomp' , retain: false - , qos: 2 + , qos: 0 , dup: false , length: 2 , messageId: 2 }, new Buffer([ - 116, 2, // Header + 112, 2, // Header 0, 2 // Message id ]))