Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Sep 7, 2020
1 parent 3ff43ce commit 3510b1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { IEsSearchResponse } from '../../../../../../../../../../src/plugins/data/common';

import {
AuthenticationHit,
Direction,
HostsQueries,
} from '../../../../../../../common/search_strategy/security_solution';
import {
AuthenticationHit,
AuthenticationsRequestOptions,
} from '../../../../../../../common/search_strategy/security_solution/hosts/authentications';
HostAuthenticationsRequestOptions,
} from '../../../../../../../common/search_strategy';

export const mockOptions: AuthenticationsRequestOptions = {
export const mockOptions: HostAuthenticationsRequestOptions = {
defaultIndex: [
'apm-*-transaction*',
'auditbeat-*',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { DEFAULT_MAX_TABLE_QUERY_SIZE } from '../../../../../../common/constants';

import { AuthenticationsRequestOptions } from '../../../../../../common/search_strategy/security_solution/hosts/authentications';
import { HostAuthenticationsRequestOptions } from '../../../../../../common/search_strategy/security_solution/hosts/authentications';
import * as buildQuery from './dsl/query.dsl';
import { authentications } from '.';
import {
Expand Down Expand Up @@ -35,7 +35,7 @@ describe('authentications search strategy', () => {
...mockOptions.pagination,
querySize: DEFAULT_MAX_TABLE_QUERY_SIZE,
},
} as AuthenticationsRequestOptions;
} as HostAuthenticationsRequestOptions;

expect(() => {
authentications.buildDsl(overSizeOptions);
Expand Down

0 comments on commit 3510b1d

Please sign in to comment.