Bug 24191: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Dec 2019 17:41:35 +0000 (14:41 -0300)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 20 Dec 2019 15:45:30 +0000 (15:45 +0000)
commitf38519b0638f620d0faeebdc2f0e0c74085c5838
treea3fc628215ac7775b39f838b9fbc13a03f351954
parent6f0df3984d2a866a3df4655d47416ad5c344f826
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>
t/db_dependent/Koha/REST/Plugin/Objects.t