mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
node fixtures: Use better data for presence.
The dispatch for presence is a trivial one-liner, so the test just makes sure three important parameters get passed along. We will eventually want to use the fixtures data in other presence-related tests, but for now the only goal is to make it pass the schema checks.
This commit is contained in:
parent
196df919f2
commit
8b34a2f755
@ -166,9 +166,12 @@ exports.fixtures = {
|
||||
email: "alice@example.com",
|
||||
user_id: 42,
|
||||
presence: {
|
||||
client_name: "electron",
|
||||
is_mirror_dummy: false,
|
||||
// etc.
|
||||
electron: {
|
||||
status: "active",
|
||||
timestamp: fake_now,
|
||||
client: "electron",
|
||||
pushable: false,
|
||||
},
|
||||
},
|
||||
server_timestamp: fake_now,
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user