Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

composebox_typeahead tests: Add some missing attributes to user objects.

evykassirer67486a43b23b
diff --git a/web/tests/composebox_typeahead.test.js b/web/tests/composebox_typeahead.test.js
index 3b8bd775863..4f3cce6b458 100644
--- a/web/tests/composebox_typeahead.test.js
+++ b/web/tests/composebox_typeahead.test.js
@@ -283,67 +283,80 @@ const ali = {
user_id: 98,
full_name: "Ali",
+ is_moderator: false,
};
const alice = {
user_id: 99,
full_name: "Alice",
+ is_moderator: false,
};
const hamlet = {
user_id: 100,
full_name: "King Hamlet",
+ is_moderator: false,
};
const othello = {
user_id: 101,
full_name: "Othello, the Moor of Venice",
+ is_moderator: false,
+ delivery_email: null,
};
const cordelia = {
user_id: 102,
full_name: "Cordelia, Lear's daughter",
+ is_moderator: false,
};
const deactivated_user = {
user_id: 103,
full_name: "Deactivated User",
+ is_moderator: false,
};
const lear = {
user_id: 104,
full_name: "King Lear",
+ is_moderator: false,
};
const twin1 = {
full_name: "Mark Twin",
+ is_moderator: false,
user_id: 105,
};
const twin2 = {
full_name: "Mark Twin",
+ is_moderator: false,
user_id: 106,
};
const gael = {
full_name: "Gaël Twin",
+ is_moderator: false,
user_id: 107,
};
const hal = {
full_name: "Earl Hal",
+ is_moderator: false,
user_id: 108,
};
const harry = {
full_name: "Harry",
+ is_moderator: false,
user_id: 109,
};