Skip to content

Commit

Permalink
We ordered part of messages_test.go well
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoDev2 committed Sep 9, 2024
1 parent b2e4f61 commit b2cf37c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions github/messages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,21 +465,25 @@ func TestParseWebHook(t *testing.T) {
messageType: "security_advisory",
},
{
payload: &SecurityAndAnalysisEvent{},
messageType: "security_and_analysis",
payload: &SecretScanningAlertEvent{},
messageType: "secret_scanning_alert",
},
{
payload: &StarEvent{},
messageType: "star",
payload: &SecurityAdvisoryEvent{},
messageType: "security_advisory",
},
{
payload: &StatusEvent{},
messageType: "status",
payload: &SecurityAndAnalysisEvent{},
messageType: "security_and_analysis",
},
{
payload: &SponsorshipEvent{},
messageType: "sponsors",
},
{
payload: &StarEvent{},
messageType: "star",
},
{
payload: &TeamEvent{},
messageType: "team",
Expand Down

0 comments on commit b2cf37c

Please sign in to comment.