Fix test for adjacency_matrix

It needs to request the value count in a backwards compatible way.
This commit is contained in:
Nik Everett 2020-07-07 11:02:18 -04:00
parent 6dec2cf722
commit b99b2f1a08

View File

@ -31,6 +31,7 @@ setup:
- do:
search:
index: test
rest_total_hits_as_int: true
body:
size: 0
aggs:
@ -47,7 +48,7 @@ setup:
term:
num: 4
- match: { hits.total.value: 3 }
- match: { hits.total: 3 }
- length: { aggregations.conns.buckets: 4 }