Skip to content

Commit

Permalink
Add indocator to bot users.
Browse files Browse the repository at this point in the history
  • Loading branch information
freshpex committed Jul 22, 2023
1 parent 6bb92f5 commit bc724a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/tests/popovers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ test_ui("sender_hover", ({override, mock_template}) => {
assert.deepEqual(opts, {
user_avatar: "http://zulip.zulipdev.com/avatar/42?s=50",
user_is_guest: false,
is_bot: alice.is_bot, // Set is_bot for the mocked user (alice).
is_bot: alice.is_bot, // Set is_bot for the mocked user (alice).
});
return "title-html";
});

const $popover_content = $.create("content-html");
mock_template("user_info_popover_content.hbs", false, (opts) => {
assert.deepEqual(opts, {
Expand All @@ -186,7 +186,7 @@ test_ui("sender_hover", ({override, mock_template}) => {
show_manage_menu: true,
is_me: false,
is_active: true,
is_bot: alice.is_bot, // Set is_bot for the mocked user (alice).
is_bot: alice.is_bot, // Set is_bot for the mocked user (alice).
is_sender_popover: true,
has_message_context: true,
status_content_available: true,
Expand Down

0 comments on commit bc724a0

Please sign in to comment.