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

View file

@ -26,5 +26,6 @@ fn works() {
client.update(patch).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);
}