Skip to content

Commit fe583d2

Browse files
committed
Fix tests - but couldnt test locally
1 parent d1b5f89 commit fe583d2

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

test/functional/apps/discover/_doc_table_newline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
2222
await security.testUser.setRoles(['kibana_admin', 'kibana_message_with_newline']);
2323
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/message_with_newline');
2424
await kibanaServer.uiSettings.replace({
25-
defaultIndex: 'message_with_newline',
25+
defaultIndex: 'newline-test',
2626
'doc_table:legacy': true,
2727
});
2828
await PageObjects.common.navigateToApp('discover');

test/functional/fixtures/es_archiver/message_with_newline/mappings.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,7 @@
11
{
22
"type": "index",
33
"value": {
4-
"index": "without-timefield",
5-
"settings": {
6-
"index": {
7-
"number_of_replicas": "0",
8-
"number_of_shards": "1"
9-
}
10-
}
11-
}
12-
}
13-
14-
{
15-
"type": "index",
16-
"value": {
17-
"index": "with-timefield",
18-
"mappings": {
19-
"properties": {
20-
"@timestamp": {
21-
"type": "date"
22-
}
23-
}
24-
},
4+
"index": "newline-test",
255
"settings": {
266
"index": {
277
"number_of_replicas": "0",

0 commit comments

Comments
 (0)