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

@ -66,7 +66,7 @@ RSpec.describe SearchService do
allow(AccountSearchService).to receive(:new).and_return(service)
results = subject.call(query, nil, 10)
expect(service).to have_received(:call).with(query, nil, limit: 10, offset: 0, resolve: false, start_with_hashtag: false, use_searchable_text: true, following: false)
expect(service).to have_received(:call).with(query, nil, limit: 10, offset: 0, resolve: false, start_with_hashtag: false, use_searchable_text: true, following: false, query_fasp: nil)
expect(results).to eq empty_results.merge(accounts: [account])
end
end