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:
Steve Howell 2020-08-13 18:21:54 +00:00 committed by Steve Howell
parent 196df919f2
commit 8b34a2f755

View File

@ -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,
},