mirror of
https://github.com/mastodon/mastodon.git
synced 2026-10-02 23:19:52 -05:00
Remove unneeded method stubs (#40788)
This commit is contained in:
@@ -26,11 +26,6 @@ Fabricator(:debug_fasp, from: :fasp_provider) do
|
||||
Fabricate.build(:fasp_capability, name: 'callback', enabled: true),
|
||||
]
|
||||
end
|
||||
|
||||
after_build do |fasp|
|
||||
# Prevent fabrication from attempting an HTTP call to the provider
|
||||
def fasp.update_remote_capabilities = true
|
||||
end
|
||||
end
|
||||
|
||||
Fabricator(:follow_recommendation_fasp, from: :fasp_provider) do
|
||||
@@ -40,11 +35,6 @@ Fabricator(:follow_recommendation_fasp, from: :fasp_provider) do
|
||||
Fabricate.build(:fasp_capability, name: 'follow_recommendation', enabled: true),
|
||||
]
|
||||
end
|
||||
|
||||
after_build do |fasp|
|
||||
# Prevent fabrication from attempting an HTTP call to the provider
|
||||
def fasp.update_remote_capabilities = true
|
||||
end
|
||||
end
|
||||
|
||||
Fabricator(:account_search_fasp, from: :fasp_provider) do
|
||||
@@ -54,11 +44,6 @@ Fabricator(:account_search_fasp, from: :fasp_provider) do
|
||||
Fabricate.build(:fasp_capability, name: 'account_search', enabled: true),
|
||||
]
|
||||
end
|
||||
|
||||
after_build do |fasp|
|
||||
# Prevent fabrication from attempting an HTTP call to the provider
|
||||
def fasp.update_remote_capabilities = true
|
||||
end
|
||||
end
|
||||
|
||||
Fabricator(:data_sharing_fasp, from: :fasp_provider) do
|
||||
|
||||
Reference in New Issue
Block a user