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

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);
}