2
0

Add FASP account search support (#34033)

This commit is contained in:
David Roetzel
2025-06-30 09:42:34 +02:00
committed by GitHub
parent 6d017dbf10
commit ac4b735c67
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