composebox_typeahead: Fix invalid id reference.

We renamed the id from "subject" to "stream_message_recipient_topic" in
d7c2577ffb.

It is concerning that the tests are not actually failing while this id
has been wrong. The test case might have some redundant parts or is set
up incorrectly.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
Zixuan James Li 2022-09-28 21:39:48 -04:00 committed by Tim Abbott
parent 13d09d03f9
commit 4e51499ba0
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ test("initialize", ({override, mock_template}) => {
event.key = "Tab"; event.key = "Tab";
event.shiftKey = false; event.shiftKey = false;
event.target.id = "subject"; event.target.id = "stream_message_recipient_topic";
$("form#send_message_form").trigger(event); $("form#send_message_form").trigger(event);
event.target.id = "compose-textarea"; event.target.id = "compose-textarea";
$("form#send_message_form").trigger(event); $("form#send_message_form").trigger(event);