Skip to content

Commit

Permalink
fixed failing tests that were still assuming types was emitted as par…
Browse files Browse the repository at this point in the history
…t of the ids query
  • Loading branch information
Mpdreamz committed Oct 21, 2017
1 parent 6a426c1 commit a0cbfc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected override LazyResponses ClientUsage() => Calls(
{
ids = new
{
types = new[] { "project" },
type = new[] { "project" },
values = new [] { Project.First.Name, "x" }
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Tests/QueryDsl/TermLevel/Ids/IdsQueryUsageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public IdsQueryUsageTests(ReadOnlyCluster cluster, EndpointUsage usage) : base(c
{
_name = "named_query",
boost = 1.1,
types = new[] { "project", "developer" },
type = new[] { "project", "developer" },
values = new[] { 1, 2, 3, 4 }
}

Expand Down Expand Up @@ -46,4 +46,4 @@ protected override QueryContainer QueryFluent(QueryContainerDescriptor<Project>
q => q.Values = Enumerable.Empty<Id>()
};
}
}
}

0 comments on commit a0cbfc2

Please sign in to comment.