Change hashtag trends to be stored in the database instead of redis (#32837)

Co-authored-by: David Roetzel <david@roetzel.de>
This commit is contained in:
Eugen Rochko 2024-12-04 12:59:17 +01:00 committed by GitHub
parent b9b26490e7
commit 48ea7552dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 195 additions and 157 deletions

View file

@ -71,6 +71,7 @@ RSpec.describe AdminMailer do
before do
PreviewCardTrend.create!(preview_card: link)
StatusTrend.create!(status: status, account: Fabricate(:account))
TagTrend.create!(tag: tag)
recipient.user.update(locale: :en)
end