Skip to content

Commit b778aa6

Browse files
committed
removed erroneous unit test
1 parent 8e177dd commit b778aa6

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/Tests/Nest.Tests.Unit/Reproduce/Reproduce1435Tests.cs

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)