Skip to content

Commit

Permalink
Fix fleet tests type error. Remove deleted type.
Browse files Browse the repository at this point in the history
Follow example from b66415e
  • Loading branch information
John Schulz committed Dec 11, 2019
1 parent e464635 commit a38b2d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions x-pack/test/api_integration/apis/fleet/agents/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
*/

import expect from '@kbn/expect';

import { FtrProviderContext } from '../../../ftr_provider_context';
import { SecurityService } from '../../../../common/services';

export default function({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const supertest = getService('supertestWithoutAuth');
const security: SecurityService = getService('security');
const security = getService('security');
const users: { [rollName: string]: { username: string; password: string; permissions?: any } } = {
fleet_user: {
permissions: {
Expand Down
3 changes: 1 addition & 2 deletions x-pack/test/api_integration/apis/fleet/delete_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

import expect from '@kbn/expect';
import { FtrProviderContext } from '../../ftr_provider_context';
import { SecurityService } from '../../../common/services';

export default function({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const supertest = getService('supertestWithoutAuth');
const security: SecurityService = getService('security');
const security = getService('security');
const users: { [rollName: string]: { username: string; password: string; permissions?: any } } = {
fleet_user: {
permissions: {
Expand Down
4 changes: 1 addition & 3 deletions x-pack/test/api_integration/apis/fleet/list_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
*/

import expect from '@kbn/expect';

import { FtrProviderContext } from '../../ftr_provider_context';
import { SecurityService } from '../../../common/services';

export default function({ getService }: FtrProviderContext) {
const esArchiver = getService('esArchiver');
const supertest = getService('supertestWithoutAuth');
const security: SecurityService = getService('security');
const security = getService('security');
const users: { [rollName: string]: { username: string; password: string; permissions?: any } } = {
kibana_basic_user: {
permissions: {
Expand Down

0 comments on commit a38b2d3

Please sign in to comment.