Skip to content

Commit 3b4f861

Browse files
committed
Use a made-up seat in the deactivated-mention test
1 parent c92bed6 commit 3b4f861

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎packages/zulip/adapter.test.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,8 +1241,8 @@ effectTest('publisher.post fails with a tagged UnresolvedMention on a dead menti
12411241
// silent, so it notifies nobody. The directory lists deactivated members too,
12421242
// which must not count as resolving the mention — in either markup form.
12431243
test.each([
1244-
['@**cc-homelab-e99f08af**', 'cc-homelab-e99f08af'],
1245-
['@**cc-homelab-e99f08af|4977**', 'cc-homelab-e99f08af|4977'],
1244+
['@**cc-myproject-abcdef12**', 'cc-myproject-abcdef12'],
1245+
['@**cc-myproject-abcdef12|42**', 'cc-myproject-abcdef12|42'],
12461246
])(
12471247
'publisher.post fails with UnresolvedMention when %s names a deactivated seat',
12481248
(markup, token) =>
@@ -1254,9 +1254,9 @@ test.each([
12541254
yield* seedUsers(stub, [
12551255
HERMES,
12561256
{
1257-
user_id: 4977,
1258-
email: 'cc-homelab-e99f08af-bot@example.com',
1259-
full_name: 'cc-homelab-e99f08af',
1257+
user_id: 42,
1258+
email: 'cc-myproject-abcdef12-bot@example.com',
1259+
full_name: 'cc-myproject-abcdef12',
12601260
is_bot: true,
12611261
is_active: false,
12621262
role: 400,

0 commit comments

Comments
 (0)