Skip to content

Commit

Permalink
updating elastic api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed May 20, 2016
1 parent 49fddb1 commit f559bae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void TestDefaultContextCountWithNoIndex()
[Fact]
public void TestDefaultContextAddEntitySaveChangesAsyncBadUrl()
{
var ex = Assert.Throws<HttpRequestException>(() =>
var ex = Assert.Throws<System.AggregateException>(() =>
{
using (var context = new ElasticsearchContext("http://locaghghghlhost:9200/", _elasticsearchMappingResolver))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public void SearchQueryGeoDistanceFilter0Range()
}

[Fact]
public void SearchQueryGeoDistanceFilter0SortTest()
public void SearchQueryGeoDistanceFilter1SortTest()
{
var search = new Search
{
Expand All @@ -269,7 +269,7 @@ public void SearchQueryGeoDistanceFilter0SortTest()
new GeoDistanceFilter(
"location",
new GeoPoint(43, 43),
new DistanceUnitMeter(0)
new DistanceUnitMeter(1)
)
),
Sort = new SortHolder(
Expand Down

0 comments on commit f559bae

Please sign in to comment.