Search-874 Comment added

This commit is contained in:
Meenal Bhave
2018-07-24 16:34:23 +01:00
parent f3185db181
commit d2461300da
@@ -651,6 +651,8 @@ public class SearchSQLAPITest extends AbstractSearchTest
restClient.onResponse().assertThat().body("result-set.docs[0].aliases.PRIMARYPARENT", Matchers.notNullValue());
restClient.onResponse().assertThat().body("result-set.docs[0].aliases.ASPECT", Matchers.notNullValue());
restClient.onResponse().assertThat().body("result-set.docs[0].aliases.QNAME", Matchers.notNullValue());
// Test that cm_content and any other random field does not appear in the response
restClient.onResponse().assertThat().body("result-set.docs[0].aliases.cm_content", Matchers.nullValue());
restClient.onResponse().assertThat().body("result-set.docs[0].aliases.RandomNonExistentField", Matchers.nullValue());
}