Skip to content

Add deleting {Tickets, Orders} and its tests

Compare
Choose a tag to compare
@ArdyZ ArdyZ released this 12 Dec 19:18
· 16 commits to master since this release
92b8da7
Add deleting Ticket to the controller (#546)

* Add deleting Ticket to the controller

* Fix small error(s)

* Update return type

* Add testing for removing a ticket

* Fixe small mixup

* Fixing small errors, but help needed

* Updating test framwork

* Adding a test to check if an Ticket which is in a order is not deleted

* Fixing not using the ticket itself

* Update testdeleteTicketAsAdminInOrder

* Creating a removeOrder() function

* Adding a test for removeOrder() function

* Update the test thanks to Sille and Martijn

* Updating testdeleteTicketAsAdminInOrder() based on comments