Skip to content

Commit fdfdb5b

Browse files
committed
Fix serialization test for Inner hits
This commit adds a version property to the expected JSON structure, to match the fluent and object initializer calls (cherry picked from commit fb7d2bf)
1 parent eb452dc commit fdfdb5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Tests/Search/Request/InnerHitsUsageTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ public QueryInnerHitsApiTests(IntrusiveOperationCluster cluster, EndpointUsage u
284284
}
285285
}
286286
}
287-
}
287+
},
288+
version = true
288289
};
289290

290291
protected override Func<SearchDescriptor<King>, ISearchRequest> Fluent => s => s

0 commit comments

Comments
 (0)