Skip to content

Commit 9bbd955

Browse files
committed
Fix failing route values test after #2030
The test was still relying on .Index(null) causing the index to be null.
1 parent c1bf703 commit 9bbd955

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Tests/ClientConcepts/Exceptions/ExceptionTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ public void ClientTestWhenThrowExceptionsDisabled()
8787
[U]
8888
public void DispatchIndicatesMissingRouteValues()
8989
{
90-
var settings = new ConnectionSettings(new Uri("http://doesntexist:9200"))
91-
.DefaultIndex("default-index");
90+
var settings = new ConnectionSettings(new Uri("http://doesntexist:9200"));
9291
var client = new ElasticClient(settings);
9392

9493
Action dispatch = () => client.Index(new Project(), i => i.Index(null));

0 commit comments

Comments
 (0)