Skip to content

Commit 51e1194

Browse files
committed
post cherry-pick compiler errors in FielsStatsApiTests
1 parent 1a54cdd commit 51e1194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tests/Search/FieldStats/FieldStatsApiTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected override LazyResponses ClientUsage() => Calls(
2929
protected override string UrlPath => "/project/_field_stats?level=indices";
3030

3131
protected override Func<FieldStatsDescriptor, IFieldStatsRequest> Fluent => d => d
32-
.Fields(Fields<Project>("*"))
32+
.Fields("*")
3333
.Level(Level.Indices);
3434
// TODO: These seem to never return stats...
3535
//.IndexConstraints(cs => cs
@@ -47,7 +47,7 @@ protected override LazyResponses ClientUsage() => Calls(
4747

4848
protected override FieldStatsRequest Initializer => new FieldStatsRequest(typeof(Project))
4949
{
50-
Fields = Fields<Project>("*"),
50+
Fields = Fields("*"),
5151
Level = Level.Indices,
5252
// TODO: These seem to never return stats...
5353
//IndexConstraints = new IndexConstraints

0 commit comments

Comments
 (0)