[ES|QL] fix validation test (#178245)

## Summary

Due to a merge race condition, some incorrect properties were left in
this test.

cc @delanni
This commit is contained in:
Drew Tate 2024-03-07 17:33:29 +01:00 committed by GitHub
parent 228e4e287e
commit 0e7adf5dae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1069,7 +1069,7 @@ describe('validation logic', () => {
({ name: fnName, signatures: statsSignatures }) =>
statsSignatures.some(({ returnType, params }) => ['number'].includes(returnType))
)) {
for (const { params, infiniteParams, ...signRest } of signatures) {
for (const { params, ...signRest } of signatures) {
const fieldMapping = getFieldMapping(params);
testErrorsAndWarnings(
@ -1246,7 +1246,7 @@ describe('validation logic', () => {
}
for (const { name, alias, signatures, ...defRest } of statsAggregationFunctionDefinitions) {
for (const { params, infiniteParams, ...signRest } of signatures) {
for (const { params, ...signRest } of signatures) {
const fieldMapping = getFieldMapping(params);
testErrorsAndWarnings(
`from a_index | eval var = ${