Skip to content

Commit 202f354

Browse files
committed
Use commitAcitivty in HasChild query
1 parent 9aa97d0 commit 202f354

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Tests/Tests/QueryDsl/Joining/HasChild/HasChildQueryUsageTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public HasChildUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usag
2020
{
2121
Name = "named_query",
2222
Boost = 1.1,
23-
Type = Infer.Relation<Developer>(),
23+
Type = Infer.Relation<CommitActivity>(),
2424
InnerHits = new InnerHits { Explain = true },
2525
MaxChildren = 5,
2626
MinChildren = 1,
@@ -34,7 +34,7 @@ public HasChildUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usag
3434
{
3535
_name = "named_query",
3636
boost = 1.1,
37-
type = "developer",
37+
type = "commitActivity",
3838
score_mode = "avg",
3939
min_children = 1,
4040
max_children = 5,
@@ -44,7 +44,7 @@ public HasChildUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usag
4444
};
4545

4646
protected override QueryContainer QueryFluent(QueryContainerDescriptor<Project> q) => q
47-
.HasChild<Developer>(c => c
47+
.HasChild<CommitActivity>(c => c
4848
.Name("named_query")
4949
.Boost(1.1)
5050
.InnerHits(i => i.Explain())

0 commit comments

Comments
 (0)