Bug 35468: Unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Dec 2023 14:53:09 +0000 (14:53 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 14 Dec 2023 15:29:18 +0000 (16:29 +0100)
commit8ed228ed9e53d7616f9b2b58961d4828a3e7e8a2
tree8b7ee6c26d92bd3356426c0f98127d9522c6f58e
parent21f341c1e0faaaabdde3908765dabb339c5f64df
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>
api/v1/swagger/definitions/booking.yaml
t/db_dependent/api/v1/bookings.t [new file with mode: 0644]