Page MenuHomePhabricator

D12481.diff
No OneTemporary

D12481.diff

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: '' }],
}),
},

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 29, 5:00 AM (9 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2730701
Default Alt Text
D12481.diff (1 KB)

Event Timeline