Skip to content

Commit

Permalink
Fix test for search_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Nov 19, 2024
1 parent 5c51ad0 commit 8486c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/public/search_provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ describe('Package search provider', () => {
test('with integration tag, with policy_templates_behavior field', () => {
getTestScheduler().run(({ hot, expectObservable }) => {
mockSendGetPackages.mockReturnValue(
hot('--(a|)', { a: { data: { items: testResponseBehaviorField } } })
hot('--(a|)', { a: { data: { response: testResponseBehaviorField } } })
);
setupMock.getStartServices.mockReturnValue(
hot('--(a|)', { a: [coreMock.createStart()] }) as any
Expand Down

0 comments on commit 8486c05

Please sign in to comment.