Add FASP account search support (#34033)

This commit is contained in:
David Roetzel 2025-06-30 09:42:34 +02:00 committed by GitHub
commit ac4b735c67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 130 additions and 3 deletions

View file

@ -41,3 +41,15 @@ Fabricator(:follow_recommendation_fasp, from: :fasp_provider) do
def fasp.update_remote_capabilities = true
end
end
Fabricator(:account_search_fasp, from: :fasp_provider) do
confirmed true
capabilities [
{ id: 'account_search', version: '0.1', enabled: true },
]
after_build do |fasp|
# Prevent fabrication from attempting an HTTP call to the provider
def fasp.update_remote_capabilities = true
end
end