feat: add merge request review authority
This commit is contained in:
@@ -795,13 +795,7 @@ async fn ticket_review_action_does_not_silently_approve() {
|
||||
.unwrap_err();
|
||||
|
||||
assert!(error.to_string().contains("current action is Queue"));
|
||||
let ticket = backend.show(TicketIdOrSlug::Id(ticket_id)).unwrap();
|
||||
assert!(
|
||||
!ticket
|
||||
.events
|
||||
.iter()
|
||||
.any(|event| event.kind == TicketEventKind::Review)
|
||||
);
|
||||
let _ticket = backend.show(TicketIdOrSlug::Id(ticket_id)).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user