node fixtures: Use better data for subscription update.

The dispatch test here really only cares that values
get passed on.

Note that the dispatch code ignores the email field, because
we only send subscription/update events to the user
whose subscription has changed.
This commit is contained in:
Steve Howell 2020-08-17 12:39:33 +00:00 committed by Steve Howell
parent 60b16a92e3
commit 31fd872781
1 changed files with 5 additions and 4 deletions

View File

@ -552,10 +552,11 @@ exports.fixtures = {
subscription__update: { subscription__update: {
type: "subscription", type: "subscription",
op: "update", op: "update",
name: "devel", email: exports.test_user.email,
stream_id: 43, name: streams.devel.name,
property: "color", stream_id: streams.devel.stream_id,
value: "black", property: "pin_to_top",
value: true,
}, },
typing__start: { typing__start: {