Bug 23089: Fix QueryBuilder tests.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit cce9d03bf9)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Ere Maijala 2019-10-24 13:35:52 +03:00 committed by Lucas Gass
parent aabac0804d
commit 8c175ec3e4
1 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ subtest 'build_query tests' => sub {
$query->{sort},
[
{
'title__sort.phrase' => {
'title__sort' => {
'order' => 'asc'
}
}
@ -537,7 +537,7 @@ subtest "_sort_field() tests" => sub {
my $f = $qb->_sort_field('title');
is(
$f,
'title__sort.phrase',
'title__sort',
'title sort mapped correctly'
);