File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
src/Tests/Nest.Tests.Unit/Reproduce Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -105,36 +105,5 @@ public void UsingToContainer()
105105 this . JsonEquals ( result . ConnectionStatus . Request , MethodBase . GetCurrentMethod ( ) , "OISAggs" ) ;
106106 }
107107
108- [ Test ]
109- public void Using ( )
110- {
111- var aggregations = new Dictionary < string , IAggregationContainer >
112- {
113- {
114- "my_aggregation" , new AggregationContainer
115- {
116- Filter = new FilterAggregator
117- {
118- Filter = new QueryFilter
119- {
120- Query = new QueryStringQuery
121- {
122- Query = "Just an example"
123- } . ToContainer ( )
124- } . ToContainer ( )
125- } //Aggregator is missing ToContainer()
126- }
127- }
128- } ;
129-
130- var result = this . _client . Search < ElasticsearchProject > ( new SearchRequest < ElasticsearchProject >
131- {
132- Aggregations = aggregations
133- } ) ;
134-
135- this . JsonEquals ( result . ConnectionStatus . Request , MethodBase . GetCurrentMethod ( ) , "OISAggs" ) ;
136- }
137-
138-
139108 }
140109}
You can’t perform that action at this time.
0 commit comments