diff --git a/frontend_tests/node_tests/user_events.js b/frontend_tests/node_tests/user_events.js index ca0cf7b34e..92c4770714 100644 --- a/frontend_tests/node_tests/user_events.js +++ b/frontend_tests/node_tests/user_events.js @@ -134,14 +134,11 @@ initialize(); assert(person.timezone); var error_msg; - var error_details; - global.blueslip.error = function (error_message_arg, error_details_arg) { + global.blueslip.error = function (error_message_arg) { error_msg = error_message_arg; - error_details = error_details_arg; }; assert(!user_events.update_person({user_id: 29, full_name: 'Sir Isaac Newton'})); - assert.equal(error_msg, "Got update_person event for unexpected user"); - assert.equal(error_details.email, 29); + assert.equal(error_msg, "Got update_person event for unexpected user 29"); }());