Bug 27680: (QA follow-up) Update test for dbic_merge_sorting
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 2 Mar 2021 08:56:14 +0000 (08:56 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Mar 2021 09:00:34 +0000 (10:00 +0100)
commit96aa6877ae39c987214e46d00c70c76591da0174
tree67a5e8d9b66a0ba455d01743e3871df1c13f0e05
parent8df3e02885f94ef8a6f960f693c398b6646daf09
Bug 27680: (QA follow-up) Update test for dbic_merge_sorting

The order_by handling will now always return an arrayref of ordering
hashrefs even when only one ordering hash is present. This is
interpreted by dbic as equivilent so I just update the test to pass
here.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/Koha/REST/Plugin/Query.t