test_queue_worker: Fix unnecessarily hard-coded user id.

This commit is contained in:
Mateusz Mandera 2021-07-09 21:10:33 +02:00 committed by Tim Abbott
parent ccd961b797
commit 91b3ba6d66
1 changed files with 2 additions and 2 deletions

View File

@ -195,8 +195,8 @@ class WorkerTest(ZulipTestCase):
self.assertEqual(
info_logs.output,
[
"INFO:root:Batch-processing 3 missedmessage_emails events for user 10",
"INFO:root:Batch-processing 1 missedmessage_emails events for user 12",
f"INFO:root:Batch-processing 3 missedmessage_emails events for user {hamlet.id}",
f"INFO:root:Batch-processing 1 missedmessage_emails events for user {othello.id}",
],
)