feat: add ticket list visual support api
This commit is contained in:
@@ -26,7 +26,7 @@ def test_user_with_ticket_view_can_list_tickets(client, db):
|
||||
response = client.get("/api/tickets")
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.json()[0]["ticket_no"] == "TK202607010001"
|
||||
assert response.json()["items"][0]["ticket_no"] == "TK202607010001"
|
||||
|
||||
|
||||
def test_user_without_ticket_create_cannot_create_ticket(client, db):
|
||||
|
||||
Reference in New Issue
Block a user