From d283636fa38568202c3695f47caaee705c036e4e Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Fri, 18 Sep 2020 09:34:55 +1000 Subject: [PATCH] fix tests --- .../session/unit/messages/ClosedGroupChatMessage_test.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ts/test/session/unit/messages/ClosedGroupChatMessage_test.ts b/ts/test/session/unit/messages/ClosedGroupChatMessage_test.ts index 74692fd58..beac186eb 100644 --- a/ts/test/session/unit/messages/ClosedGroupChatMessage_test.ts +++ b/ts/test/session/unit/messages/ClosedGroupChatMessage_test.ts @@ -31,7 +31,12 @@ describe('ClosedGroupChatMessage', () => { .to.have.property('group') .to.have.deep.property( 'id', - new Uint8Array(StringUtils.encode(groupId.key, 'utf8')) + new Uint8Array( + StringUtils.encode( + PubKey.PREFIX_GROUP_TEXTSECURE + groupId.key, + 'utf8' + ) + ) ); expect(decoded.dataMessage) .to.have.property('group')