Skip to content

Commit

Permalink
Review#1: move Saml Tools service to API integrations services as it …
Browse files Browse the repository at this point in the history
…not needed for functional tests.
  • Loading branch information
azasypkin committed Aug 22, 2023
1 parent 5e953fa commit 573a552
Showing 4 changed files with 3 additions and 21 deletions.
2 changes: 2 additions & 0 deletions x-pack/test_serverless/api_integration/services/index.ts
Original file line number Diff line number Diff line change
@@ -12,13 +12,15 @@ import { services as svlSharedServices } from '../../shared/services';

import { SvlCommonApiServiceProvider } from './svl_common_api';
import { AlertingApiProvider } from './alerting_api';
import { SamlToolsProvider } from './saml_tools';

export const services = {
...xpackApiIntegrationServices,
...svlSharedServices,

svlCommonApi: SvlCommonApiServiceProvider,
alertingApi: AlertingApiProvider,
samlTools: SamlToolsProvider,
};

export type InheritedFtrProviderContext = GenericFtrProviderContext<typeof services, {}>;
12 changes: 0 additions & 12 deletions x-pack/test_serverless/shared/ftr_provider_context.d.ts

This file was deleted.

10 changes: 1 addition & 9 deletions x-pack/test_serverless/shared/services/index.ts
Original file line number Diff line number Diff line change
@@ -5,12 +5,4 @@
* 2.0.
*/

import { GenericFtrProviderContext } from '@kbn/test';

import { SamlToolsProvider } from './saml_tools';

export const services = {
samlTools: SamlToolsProvider,
};

export type InheritedFtrProviderContext = GenericFtrProviderContext<typeof services, {}>;
export const services = {};

0 comments on commit 573a552

Please sign in to comment.