Bug 36100: Update unit tests for add
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 15 Feb 2024 12:33:26 +0000 (12:33 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Mar 2024 10:00:23 +0000 (11:00 +0100)
commit733546cf5f0d357b527ec1497fa01f5f1adb9077
treee8fb78b2c246a32af365d5220ebc5b407560e797
parentb051e53bc9be9e77163d4db2c57eecc48be56b4a
Bug 36100: Update unit tests for add

This patch updates the unit tests for booking add to confirm that
without readOnly we still return an error should a user attempt to
submit a booking with a booking_id that would clash.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit d810b3663bf855101d75673abc77d05bf65596dd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/api/v1/bookings.t