Check status field value after patch (#22)
This commit is contained in:
parent
63d9ed8478
commit
9bda4eb7e0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue