Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3570289
D12481.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12481.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12481: [lib] Replace threadTypes.LOCAL in tests
Attached
Detach File
Event Timeline
Log In to Comment