account_migration_fabricator.rb 313 B

123456789
  1. # frozen_string_literal: true
  2. Fabricator(:account_migration) do
  3. account
  4. target_account { |attrs| Fabricate(:account, also_known_as: [ActivityPub::TagManager.instance.uri_for(attrs[:account])]) }
  5. acct { |attrs| attrs[:target_account].acct }
  6. followers_count 1234
  7. created_at { 60.days.ago }
  8. end