Original commit: elastic/x-pack-elasticsearch@7ca5e0fb54
This commit is contained in:
Martijn van Groningen 2017-10-23 09:58:33 +02:00
parent 652f6560b8
commit c9682d02d4
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ public class DocumentLevelSecurityTests extends SecurityIntegTestCase {
assertThat(response.getHits().getAt(0).getInnerHits().get("nested_field").getAt(0).getId(), equalTo("1"));
assertThat(response.getHits().getAt(0).getInnerHits().get("nested_field").getAt(0).getNestedIdentity().getOffset(), equalTo(0));
assertThat(response.getHits().getAt(0).getInnerHits().get("nested_field").getAt(0).getSourceAsString(),
equalTo("{\"nested_field\":{\"field2\":\"value2\"}}"));
equalTo("{\"field2\":\"value2\"}"));
}
}