Skip to content

Commit

Permalink
test: illustrate that test should fail
Browse files Browse the repository at this point in the history
  • Loading branch information
msvticket committed Jan 7, 2025
1 parent e8c3905 commit 2171e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/plugins/approve/approve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ Approvers can cancel approval by writing ` + "`/approve cancel`" + ` in a commen
files: []string{"d/d.go"},
comments: []*scm.Comment{
newTestComment("derek", "/approve"),
newTestComment("alice", "/approve"),
newTestComment("anybody", "/approve"),
},
reviews: []*scm.Review{},
selfApprove: false,
Expand All @@ -1223,7 +1223,7 @@ Approvers can cancel approval by writing ` + "`/approve cancel`" + ` in a commen
expectComment: true,
expectedComment: `[APPROVALNOTIFIER] This PR is **APPROVED**
This pull-request has been approved by: *[alice](<> "Approved")*, *[derek](<> "Approved")*
This pull-request has been approved by: *[anybody](<> "Approved")*, *[derek](<> "Approved")*
The full list of commands accepted by this bot can be found [here](https://jenkins-x.io/v3/develop/reference/chatops/?repo=org%2Frepo).
Expand Down

0 comments on commit 2171e90

Please sign in to comment.