Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Sep 23, 2024
1 parent b0704f0 commit 7439c1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const buildUserEntityDefinition = (space: string): EntityDefinition =>
entityDefinitionSchema.parse({
id: buildEntityDefinitionId('user', space),
name: 'EA User Store',
type: 'user',
indexPatterns: ENTITY_STORE_DEFAULT_SOURCE_INDICES,
identityFields: ['user.name'],
displayNameTemplate: '{{user.name}}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export default ({ getService }: FtrProviderContext) => {
await initEntityEngineForEntityType('user');

const expectedTransforms = [
'entities-v1-history-ea_user_entity_store',
'entities-v1-latest-ea_user_entity_store',
'entities-v1-history-ea_default_user_entity_store',
'entities-v1-latest-ea_default_user_entity_store',
];

await expectTransformsExist(expectedTransforms);
Expand All @@ -86,8 +86,8 @@ export default ({ getService }: FtrProviderContext) => {
await initEntityEngineForEntityType('host');

const expectedTransforms = [
'entities-v1-history-ea_host_entity_store',
'entities-v1-latest-ea_host_entity_store',
'entities-v1-history-ea_default_host_entity_store',
'entities-v1-latest-ea_default_host_entity_store',
];

await expectTransformsExist(expectedTransforms);
Expand Down

0 comments on commit 7439c1e

Please sign in to comment.