Bug 35468: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Dec 2023 14:53:09 +0000 (14:53 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 3 Jan 2024 14:05:10 +0000 (15:05 +0100)
commitc6f5c4d13d570bb3947a6faa2588835d8f32bd1c
tree917c521e745f053ecf9abbdea62e8f54eec9b8db
parent042cb74f72370b916320e9e085dc6b0585ab93ee
Bug 35468: Unit tests

This patch adds all the 'basic' unit tests one would expect to find with
the api endpoints.  I've been working on this as a follow-up to bug
29002 as promised, but hadn't yet submitted them as I wanted to get the
full coverage.. but having these basics in early makes sense whilst I
continue on the more advanced cases.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 8ed228ed9e53d7616f9b2b58961d4828a3e7e8a2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
api/v1/swagger/definitions/booking.yaml
t/db_dependent/api/v1/bookings.t [new file with mode: 0644]