Skip to content

Commit

Permalink
Remove use_field_mapping from integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed Jun 27, 2019
1 parent 2c8ff4b commit d38c74e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Tests/Tests/Search/Search/SearchApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ public SearchApiDocValueFieldsTests(ReadOnlyCluster cluster, EndpointUsage usage
{
new
{
field = "name",
format = "use_field_mapping"
field = "name"
},
new
{
Expand All @@ -305,7 +304,7 @@ public SearchApiDocValueFieldsTests(ReadOnlyCluster cluster, EndpointUsage usage
.Term(p => p.State, StateOfBeing.Stable)
)
.DocValueFields(fs => fs
.Field(p => p.Name, format: "use_field_mapping")
.Field(p => p.Name)
.Field(p => p.LastActivity, format: "weekyear")
);

Expand All @@ -323,7 +322,7 @@ public SearchApiDocValueFieldsTests(ReadOnlyCluster cluster, EndpointUsage usage
Field = "state",
Value = "Stable"
}),
DocValueFields = Infer.Field<Project>(p => p.Name, format: "use_field_mapping")
DocValueFields = Infer.Field<Project>(p => p.Name)
.And<Project>(p => p.LastActivity, format: "weekyear")
};

Expand Down

0 comments on commit d38c74e

Please sign in to comment.