bsoc-bitbyte / GetIt

Streamlined college e-commerce: Simplifying merch buying and selling for students.
https://getit.iiitdmj.ac.in/
17 stars 51 forks source link

add tests for tickets app and other changes #130

Closed arminpatel closed 4 months ago

arminpatel commented 4 months ago

Overview

  1. This PR fixes #118 .
  2. This PR does the following:
    1. Add tests for the allowed CRUD operations.
    2. Add default for status in ticket model
    3. Allow only read-only operations on status for now
    4. Allow only Create, List and Retrieve actions on Ticket.
    5. Restrict permissions for the endpoint

Essential Checklist

Proof that changes are correct

PR Pointers

netlify[bot] commented 4 months ago

Deploy Preview for merch-site canceled.

Name Link
Latest commit 4cb8ee9087e04685d54da054e3c59b4d4e8927f9
Latest deploy log https://app.netlify.com/sites/merch-site/deploys/65ca22bfb0cda50008b39229