From 30181dcc080dba76633e8c2ea07422a53f66edc0 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 16 Aug 2017 16:46:01 -0700 Subject: [PATCH] node: Fix node test for user_events. --- frontend_tests/node_tests/user_events.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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"); }());