Check status field value after patch (#22)

This commit is contained in:
Jae-Won Chung 2024-05-22 05:00:51 -04:00 committed by GitHub
parent 63d9ed8478
commit 9bda4eb7e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -26,5 +26,6 @@ fn works() {
client.update(patch).unwrap(); client.update(patch).unwrap();
let ticket = client.get(ticket_id).unwrap().unwrap(); let ticket = client.get(ticket_id).unwrap().unwrap();
assert_eq!(ticket_id, ticket.id); assert_eq!(ticket.id, ticket_id);
assert_eq!(ticket.status, Status::InProgress);
} }