Skip to content

Commit

Permalink
Fix endpoint mock agent service
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Jun 26, 2020
1 parent 5d439b1 commit 784f671
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/plugins/security_solution/server/endpoint/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ export const createMockEndpointAppContextServiceStartContract = (): jest.Mocked<
export const createMockAgentService = (): jest.Mocked<AgentService> => {
return {
getAgentStatusById: jest.fn(),
authenticateAgentWithAccessToken: jest.fn(),
getAgent: jest.fn(),
listAgents: jest.fn(),
};
};

Expand Down

0 comments on commit 784f671

Please sign in to comment.