Skip to content

Commit

Permalink
[Cases] Rename functional tests folder (elastic#118490)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas authored and mbondyra committed Nov 16, 2021
1 parent 30f341c commit c4e0413
Show file tree
Hide file tree
Showing 106 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
# Security Solution sub teams
/x-pack/plugins/cases @elastic/security-threat-hunting
/x-pack/plugins/timelines @elastic/security-threat-hunting
/x-pack/test/case_api_integration @elastic/security-threat-hunting
/x-pack/test/cases_api_integration @elastic/security-threat-hunting
/x-pack/plugins/lists @elastic/security-detections-response

## Security Solution sub teams - security-onboarding-and-lifecycle-mgt
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/cases/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const CASE_COMMENT_SAVED_OBJECT = 'cases-comments';
export const CASE_CONFIGURE_SAVED_OBJECT = 'cases-configure';

/**
* If more values are added here please also add them here: x-pack/test/case_api_integration/common/fixtures/plugins
* If more values are added here please also add them here: x-pack/test/cases_api_integration/common/fixtures/plugins
*/
export const SAVED_OBJECT_TYPES = [
CASE_SAVED_OBJECT,
Expand Down
6 changes: 3 additions & 3 deletions x-pack/scripts/functional_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ const onlyNotInCoverageTests = [
require.resolve('../test/alerting_api_integration/basic/config.ts'),
require.resolve('../test/alerting_api_integration/spaces_only/config.ts'),
require.resolve('../test/alerting_api_integration/security_and_spaces/config.ts'),
require.resolve('../test/case_api_integration/security_and_spaces/config_basic.ts'),
require.resolve('../test/case_api_integration/security_and_spaces/config_trial.ts'),
require.resolve('../test/case_api_integration/spaces_only/config.ts'),
require.resolve('../test/cases_api_integration/security_and_spaces/config_basic.ts'),
require.resolve('../test/cases_api_integration/security_and_spaces/config_trial.ts'),
require.resolve('../test/cases_api_integration/spaces_only/config.ts'),
require.resolve('../test/apm_api_integration/basic/config.ts'),
require.resolve('../test/apm_api_integration/trial/config.ts'),
require.resolve('../test/apm_api_integration/rules/config.ts'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import { FtrProviderContext } from '../../ftr_provider_context';
import {
createUsersAndRoles,
deleteUsersAndRoles,
} from '../../../case_api_integration/common/lib/authentication';
} from '../../../cases_api_integration/common/lib/authentication';

import { Role, User } from '../../../case_api_integration/common/lib/authentication/types';
import { Role, User } from '../../../cases_api_integration/common/lib/authentication/types';
import {
createCase,
deleteAllCaseItems,
getCase,
} from '../../../case_api_integration/common/lib/utils';
import { getPostCaseRequest } from '../../../case_api_integration/common/lib/mock';
} from '../../../cases_api_integration/common/lib/utils';
import { getPostCaseRequest } from '../../../cases_api_integration/common/lib/mock';
import { APP_ID } from '../../../../plugins/security_solution/common/constants';

const secAll: Role = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import { FtrProviderContext } from '../../ftr_provider_context';
import {
createUsersAndRoles,
deleteUsersAndRoles,
} from '../../../case_api_integration/common/lib/authentication';
} from '../../../cases_api_integration/common/lib/authentication';

import { Role, User } from '../../../case_api_integration/common/lib/authentication/types';
import { Role, User } from '../../../cases_api_integration/common/lib/authentication/types';
import {
createCase,
deleteAllCaseItems,
getCase,
} from '../../../case_api_integration/common/lib/utils';
import { getPostCaseRequest } from '../../../case_api_integration/common/lib/mock';
} from '../../../cases_api_integration/common/lib/utils';
import { getPostCaseRequest } from '../../../cases_api_integration/common/lib/mock';
import { APP_ID } from '../../../../plugins/security_solution/common/constants';

const secAll: Role = {
Expand Down

0 comments on commit c4e0413

Please sign in to comment.