6
0
Derivar 0
bastodon/spec/fabricators/account_migration_fabricator.rb
2023-03-04 17:12:09 +01:00

9 linhas
313 B
Ruby

# frozen_string_literal: true
Fabricator(:account_migration) do
account
target_account { |attrs| Fabricate(:account, also_known_as: [ActivityPub::TagManager.instance.uri_for(attrs[:account])]) }
acct { |attrs| attrs[:target_account].acct }
followers_count 1234
created_at { 60.days.ago }
end