File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 55using Elasticsearch . Net ;
66using Nest ;
77using FluentAssertions ;
8+ using Tests . Document . Multiple . Reindex ;
89using Tests . Framework ;
910using Xunit ;
1011using Tests . Framework . Integration ;
@@ -15,10 +16,17 @@ namespace Tests.Reproduce
1516 [ Collection ( TypeOfCluster . ReadOnly ) ]
1617 public class GithubIssue1863
1718 {
19+ private readonly ReadOnlyCluster _cluster ;
20+
21+ public GithubIssue1863 ( ReadOnlyCluster cluster )
22+ {
23+ _cluster = cluster ;
24+ }
25+
1826 [ I ]
1927 public void ConcreteTypeConverterThrowsExceptionOnNullScore ( )
2028 {
21- var client = TestClient . GetClient ( ) ;
29+ var client = _cluster . Client ( s => s ) ;
2230 var response = client . Search < Project > ( s => s
2331 . ConcreteTypeSelector ( ( d , h ) => typeof ( Project ) )
2432 . Sort ( srt => srt . Ascending ( p => p . StartedOn ) )
You can’t perform that action at this time.
0 commit comments