about summary refs log tree commit diff
path: root/spec/fabricators/account_migration_fabricator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fabricators/account_migration_fabricator.rb')
-rw-r--r--spec/fabricators/account_migration_fabricator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/fabricators/account_migration_fabricator.rb b/spec/fabricators/account_migration_fabricator.rb
index 3b3fc2077..2a8e747a8 100644
--- a/spec/fabricators/account_migration_fabricator.rb
+++ b/spec/fabricators/account_migration_fabricator.rb
@@ -1,6 +1,6 @@
 Fabricator(:account_migration) do
   account
-  target_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
-  acct 'test@example.com'
 end