Skip to content

Commit

Permalink
fix: fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire.Nicholas authored and Claire.Nicholas committed Jan 19, 2024
1 parent e2d5f53 commit a902e13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ func TestLibrary_Events_NewEventsFromMask_ToDatabase(t *testing.T) {
constants.AllowPushBranch |
constants.AllowPushTag |
constants.AllowPushDeleteBranch |
constants.AllowPushDeleteTag |
constants.AllowPullOpen |
constants.AllowPullSync |
constants.AllowPullReopen |
Expand All @@ -164,7 +163,8 @@ func TestLibrary_Events_NewEventsFromMask_ToDatabase(t *testing.T) {
)

maskTwo := int64(
constants.AllowPullEdit |
constants.AllowPushDeleteTag |
constants.AllowPullEdit |
constants.AllowCommentEdit |
constants.AllowDeployCreate,
)
Expand Down Expand Up @@ -242,7 +242,7 @@ func testEvents() (*Events, *Events) {
Branch: &tBool,
Tag: &tBool,
DeleteBranch: &tBool,
DeleteTag: &tBool,
DeleteTag: &fBool,
},
PullRequest: &actions.Pull{
Opened: &tBool,
Expand All @@ -267,7 +267,7 @@ func testEvents() (*Events, *Events) {
Branch: &fBool,
Tag: &fBool,
DeleteBranch: &fBool,
DeleteTag: &fBool,
DeleteTag: &tBool,
},
PullRequest: &actions.Pull{
Opened: &fBool,
Expand Down

0 comments on commit a902e13

Please sign in to comment.