Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Dec 20, 2024
1 parent ad36456 commit e4b7272
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { StreamConfigDefinition } from '@kbn/streams-schema';
export const ChildrenAffectedCallout = ({
childStreams,
}: {
childStreams: StreamConfigDefinition['routing'];
childStreams: StreamConfigDefinition['ingest']['routing'];
}) => {
return (
<EuiCallOut
Expand Down
38 changes: 19 additions & 19 deletions x-pack/test/api_integration/apis/streams/enrichment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,6 @@ export default function ({ getService }: FtrProviderContext) {

it('Place processing steps', async () => {
const body: WiredStreamConfigDefinition = {
wired: {
fields: {
'@timestamp': {
type: 'date',
},
message: {
type: 'match_only_text',
},
message2: {
type: 'match_only_text',
},
'host.name': {
type: 'keyword',
},
'log.level': {
type: 'keyword',
},
},
},
ingest: {
processing: [
{
Expand Down Expand Up @@ -76,6 +57,25 @@ export default function ({ getService }: FtrProviderContext) {
},
],
routing: [],
wired: {
fields: {
'@timestamp': {
type: 'date',
},
message: {
type: 'match_only_text',
},
message2: {
type: 'match_only_text',
},
'host.name': {
type: 'keyword',
},
'log.level': {
type: 'keyword',
},
},
},
},
};
const response = await putStream(supertest, 'logs', body);
Expand Down

0 comments on commit e4b7272

Please sign in to comment.