From c274865a3a16a031df3c344787314947a21a0e31 Mon Sep 17 00:00:00 2001 From: Zixuan James Li Date: Sat, 28 Jan 2023 21:28:21 -0500 Subject: [PATCH] node_tests: Remove unused get_args. Added in 76ae8e23e2efd3c499d2d437108d6dbe21a5127a probably as a typo, as we usually further check the return value with an assertion. Signed-off-by: Zixuan James Li --- frontend_tests/node_tests/dispatch.js | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend_tests/node_tests/dispatch.js b/frontend_tests/node_tests/dispatch.js index d3493a4f46..82f3d276fc 100644 --- a/frontend_tests/node_tests/dispatch.js +++ b/frontend_tests/node_tests/dispatch.js @@ -530,7 +530,6 @@ run_test("realm_bot remove", ({override}) => { assert.equal(admin_stub.num_calls, 1); const args = bot_stub.get_args("user_id"); assert_same(args.user_id, event.bot.user_id); - admin_stub.get_args("update_user_id", "update_bot_data"); }); run_test("realm_bot delete", ({override}) => {