@@ -25,8 +25,6 @@ export default function ({ getService }: FtrProviderContext) {
2525 // this id is from the es archive
2626 const _id = 'fa7eb1546f44fd47d8868be8d74e0082e19f22df493c67a7725457978eb648ab' ;
2727 const { body } : { body : ResolverEntityIndex } = await supertest . get (
28- // using the same indices value here twice to force the query parameter to be an array
29- // for some reason using supertest's query() function doesn't construct a parsable array
3028 `/api/endpoint/resolver/entity?_id=${ _id } &indices=${ eventsIndexPattern } &indices=.siem-signals-default`
3129 ) ;
3230 expect ( body ) . eql ( [
@@ -42,8 +40,6 @@ export default function ({ getService }: FtrProviderContext) {
4240 // this id is from the es archive
4341 const _id = 'no-entity-id-field' ;
4442 const { body } : { body : ResolverEntityIndex } = await supertest . get (
45- // using the same indices value here twice to force the query parameter to be an array
46- // for some reason using supertest's query() function doesn't construct a parsable array
4743 `/api/endpoint/resolver/entity?_id=${ _id } &indices=${ eventsIndexPattern } &indices=.siem-signals-default`
4844 ) ;
4945 expect ( body ) . to . be . empty ( ) ;
@@ -53,8 +49,6 @@ export default function ({ getService }: FtrProviderContext) {
5349 // this id is from the es archive
5450 const _id = 'no-process-field' ;
5551 const { body } : { body : ResolverEntityIndex } = await supertest . get (
56- // using the same indices value here twice to force the query parameter to be an array
57- // for some reason using supertest's query() function doesn't construct a parsable array
5852 `/api/endpoint/resolver/entity?_id=${ _id } &indices=${ eventsIndexPattern } &indices=.siem-signals-default`
5953 ) ;
6054 expect ( body ) . to . be . empty ( ) ;
0 commit comments