Commit graph

10 commits

Author SHA1 Message Date
Eren Asker b4dfa72852
Unify adding staff
Co-authored-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de>
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-27 16:46:44 +01:00
Mathis Kral f50fbb5ac4 Add basic order-staff-relation
Works on #73
This contains changes on multiple files to associate
multiple employees with an order and make customers
able to add employees to their order.
Because of SQL JPA things, this will not be final.
2023-11-26 20:34:23 +01:00
Mathis Kral d207386d1d Add staff functionality to CustomCart and CustomOrder
This works on #73
This also contains unit-tests for the CustomOrder.
2023-11-26 20:34:23 +01:00
Simon Bruder 391ddaf03b
Create admin user only if it does not yet exist
Fixes #28
2023-11-24 20:21:17 +01:00
Mathis Kral a795fc99aa
Add simple get and post tests to order package
These tests mainly check the correct redirection and working input values,
but not many edge cases or any business logic.

Works on #48
2023-11-24 19:22:54 +01:00
Simon Bruder 4c83c661fe
Test inventory error handling 2023-11-24 17:25:34 +01:00
Simon Bruder f7d859b25d
Add integration tests for inventory controller 2023-11-24 17:25:32 +01:00
Denis Natusch b944d04b5d
Add tests to staff package
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-23 16:10:01 +01:00
Denis Natusch 79895d715b
Log out user properly after changing own username 2023-11-22 15:25:03 +01:00
Simon Bruder 0fb4d910fb
Rename test package to catering 2023-11-21 18:00:38 +01:00