diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-10-08 16:45:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 16:45:40 +0200 |
commit | 45ebdb72ca1678eb30e6087f61bd019c7ea903f4 (patch) | |
tree | 39fa4a3185bf358efa8c954a42b39b927d3b904b /spec/fabricators | |
parent | 678fc4d292664550df554a224b8fd59dcef20d35 (diff) |
Add support for language preferences for trending statuses and links (#18288)
Diffstat (limited to 'spec/fabricators')
-rw-r--r-- | spec/fabricators/account_fabricator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/fabricators/account_fabricator.rb b/spec/fabricators/account_fabricator.rb index f1cce281c..205706532 100644 --- a/spec/fabricators/account_fabricator.rb +++ b/spec/fabricators/account_fabricator.rb @@ -11,4 +11,5 @@ Fabricator(:account) do suspended_at { |attrs| attrs[:suspended] ? Time.now.utc : nil } silenced_at { |attrs| attrs[:silenced] ? Time.now.utc : nil } user { |attrs| attrs[:domain].nil? ? Fabricate.build(:user, account: nil) : nil } + discoverable true end |