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:
parent
aabac0804d
commit
8c175ec3e4
|
|
@ -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'
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue