Bug 24191: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Dec 2019 17:41:35 +0000 (14:41 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Dec 2019 16:15:45 +0000 (16:15 +0000)
commit2a169e94cdabf77098425b8bccfbbfa4b0fdf926
tree676fb2202acc0b8068e36f3ddc8c6bfbda646e77
parent704ea1a62ea2d80361545101129eb3725e3fe99a
Bug 24191: Regression tests

This patch adds missing tests for calling objects.search with
non-existent column names for sorting, that should be mapped using
to_model for that matter.

Tests should fail as there's no current use of to_model for building the
order_by portion of the query.

Sponsored-by: ByWater Solutions
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/REST/Plugin/Objects.t