account_migration_fabricator.rb 253 B

123456
  1. Fabricator(:account_migration) do
  2. account
  3. target_account { |attrs| Fabricate(:account, also_known_as: [ActivityPub::TagManager.instance.uri_for(attrs[:account])]) }
  4. acct { |attrs| attrs[:target_account].acct }
  5. followers_count 1234
  6. end