diff --git a/keyserver/src/responders/thread-responders.test.js b/keyserver/src/responders/thread-responders.test.js --- a/keyserver/src/responders/thread-responders.test.js +++ b/keyserver/src/responders/thread-responders.test.js @@ -37,14 +37,14 @@ it('Should not require sourceMessageID of not a sidebar', () => { expect( newThreadRequestInputValidator.is({ - type: threadTypes.LOCAL, + type: threadTypes.COMMUNITY_SECRET_SUBTHREAD, ...requestWithoutMessageID, }), ).toBe(true); expect( newThreadRequestInputValidator.is({ - type: threadTypes.LOCAL, + type: threadTypes.COMMUNITY_SECRET_SUBTHREAD, ...requestWithMessageID, }), ).toBe(false); diff --git a/lib/reducers/message-reducer.test.js b/lib/reducers/message-reducer.test.js --- a/lib/reducers/message-reducer.test.js +++ b/lib/reducers/message-reducer.test.js @@ -304,7 +304,7 @@ { [88471]: createPendingThread({ viewerID: '', - threadType: threadTypes.LOCAL, + threadType: threadTypes.COMMUNITY_SECRET_SUBTHREAD, members: [{ id: '', username: '' }], }), },