Skip to content

Commit

Permalink
[functional tests] Remove include_in_all (#10268)
Browse files Browse the repository at this point in the history
* [functional tests] Remove include_in_all

* [functional tests] Get milliseconds from date
  • Loading branch information
jbudz authored Feb 9, 2017
1 parent 20ea24f commit 0d9e51f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ module.exports = {
},
'id': {
'type': 'integer',
'index': true,
'include_in_all': false
'index': true
},
'clientip': {
'type': 'ip'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ module.exports = {
},
'id': {
'type': 'integer',
'index': true,
'include_in_all': false
'index': true
},
'clientip': {
'type': 'ip'
Expand Down
2 changes: 1 addition & 1 deletion test/functional/apps/management/_scripted_fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ bdd.describe('creating and using Painless date scripted fields', function descri
await PageObjects.settings
.addScriptedField(scriptedPainlessFieldName2, 'painless', 'date',
{ format: 'Date', datePattern: 'YYYY-MM-DD HH:00' }, '1',
'doc[\'utc_time\'].value + (1000) * 60 * 60');
'doc[\'utc_time\'].value.getMillis() + (1000) * 60 * 60');
await PageObjects.common.try(async function() {
expect(parseInt(await PageObjects.settings.getScriptedFieldsTabCount())).to.be(startingCount + 1);
});
Expand Down

0 comments on commit 0d9e51f

Please sign in to comment.