We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a1e12d commit 8128cadCopy full SHA for 8128cad
src/Tests/Nest.Tests.Unit/Reproduce/Reproduce1440Tests.cs
@@ -2,6 +2,7 @@
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Reflection;
5
+using Elasticsearch.Net.Connection;
6
using FluentAssertions;
7
using Nest.Tests.MockData.Domain;
8
using NUnit.Framework;
@@ -17,7 +18,7 @@ public class Reproduce1440Tests : BaseJsonTests
17
18
[Test]
19
public void CountShouldNotThrowWhenNoDefaultIndexSpecified()
20
{
- var client = new ElasticClient();
21
+ var client = new ElasticClient(connection: new InMemoryConnection(new ConnectionSettings()));
22
var request = client.Count<ElasticsearchProject>();
23
var path = new Uri(request.ConnectionStatus.RequestUrl).AbsolutePath;
24
path.Should().Be("/_all/elasticsearchprojects/_count");
0 commit comments