mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
populate_db: Add support for creating messages older than 5 days ago.
Fixes #21646.
This commit is contained in:
@@ -13,7 +13,7 @@ class TestChoosePubDate(ZulipTestCase):
|
||||
"""
|
||||
tot_messages = 1000000
|
||||
datetimes_list = [
|
||||
choose_date_sent(i, tot_messages, 1)
|
||||
choose_date_sent(i, tot_messages, 5, 1)
|
||||
for i in range(1, tot_messages, tot_messages // 100)
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user