We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474f72d commit 8d8c7ecCopy full SHA for 8d8c7ec
src/Tests/Reproduce/GithubIssue1863.cs
@@ -16,10 +16,17 @@ namespace Tests.Reproduce
16
[SkipVersion("<2.1.0", "")]
17
public class GithubIssue1863
18
{
19
+ private readonly ReadOnlyCluster _cluster;
20
+
21
+ public GithubIssue1863(ReadOnlyCluster cluster)
22
+ {
23
+ _cluster = cluster;
24
+ }
25
26
[I]
27
public void ConcreteTypeConverterThrowsExceptionOnNullScore()
28
- var client = TestClient.GetClient();
29
+ var client = _cluster.Client(s => s);
30
var response = client.Search<Project>(s => s
31
.ConcreteTypeSelector((d,h) => typeof(Project))
32
.Sort(srt => srt.Ascending(p => p.StartedOn))
0 commit comments