Skip to content

Commit 12aafc4

Browse files
committed
fix more
1 parent 75cef17 commit 12aafc4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,13 +2690,7 @@ protected static MapMatcher getResultMatcher(Map<String, Object> result) {
26902690
* Match result columns and values, with default matchers for metadata.
26912691
*/
26922692
protected static void assertResultMap(Map<String, Object> result, Matcher<?> columnMatcher, Matcher<?> valuesMatcher) {
2693-
assertMap(
2694-
result,
2695-
getResultMatcher(result).entry("columns", columnMatcher)
2696-
.entry("values", valuesMatcher)
2697-
.entry("documents_found", greaterThanOrEqualTo(0))
2698-
.entry("values_loaded", greaterThanOrEqualTo(0))
2699-
);
2693+
assertMap(result, getResultMatcher(result).entry("columns", columnMatcher).entry("values", valuesMatcher));
27002694
}
27012695

27022696
protected static void assertResultMap(Map<String, Object> result, Object columnMatcher, Object valuesMatcher) {

0 commit comments

Comments
 (0)