Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
node fixtures: Add more realistic data for bots.
Steve Howellaad98aa6cd78
diff --git a/frontend_tests/node_tests/lib/events.js b/frontend_tests/node_tests/lib/events.jsindex f66c13ec9bd..6ac87bfd606 100644--- a/frontend_tests/node_tests/lib/events.js+++ b/frontend_tests/node_tests/lib/events.js@@ -235,8 +235,17 @@ exports.fixtures = {op: "add",bot: {email: "[email protected]",+ user_id: 42,+ avatar_url: "/some/path/to/avatar",+ api_key: "SOME_KEY",full_name: "The Bot",- // etc.+ bot_type: 1,+ default_all_public_streams: true,+ default_events_register_stream: "whatever",+ default_sending_stream: "whatever",+ is_active: true,+ owner_id: exports.test_user.user_id,+ services: [],},},@@ -244,8 +253,7 @@ exports.fixtures = {type: "realm_bot",op: "remove",bot: {- email: "[email protected]",- user_id: "42",+ user_id: 42,full_name: "The Bot",},},@@ -254,8 +262,7 @@ exports.fixtures = {type: "realm_bot",op: "delete",bot: {- email: "[email protected]",- user_id: "42",+ user_id: 42,},},@@ -263,7 +270,6 @@ exports.fixtures = {type: "realm_bot",op: "update",bot: {- email: "[email protected]",user_id: 4321,full_name: "The Bot Has A New Name",},