Add FASP follow recommendation support (#34964)

This commit is contained in:
David Roetzel 2025-06-16 12:43:27 +02:00 committed by GitHub
commit b2506478ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 136 additions and 0 deletions

View file

@ -29,3 +29,15 @@ Fabricator(:debug_fasp, from: :fasp_provider) do
def fasp.update_remote_capabilities = true
end
end
Fabricator(:follow_recommendation_fasp, from: :fasp_provider) do
confirmed true
capabilities [
{ id: 'follow_recommendation', 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