1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-23 02:58:16 +09:00
mastodon/spec/fabricators/account_migration_fabricator.rb

10 lines
313 B
Ruby
Raw Normal View History

# 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
2023-03-05 01:12:09 +09:00
created_at { 60.days.ago }
end