]> git.koha-community.org Git - koha.git/commit
Bug 24191: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Dec 2019 17:41:35 +0000 (14:41 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 6 Jan 2020 20:49:17 +0000 (20:49 +0000)
commit99ad6cac3068621ff72c02f4f7ae4916124f52d5
tree489f12bde8bd995d9b3d84f6053e8162f239e459
parent902ee6b7a3764290db463fb259fe18938fd24afa
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit f38519b0638f620d0faeebdc2f0e0c74085c5838)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Koha/REST/Plugin/Objects.t