Skip to content

Commit

Permalink
use BoolPtr helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Dec 19, 2023
1 parent 1d686d0 commit 25fc8f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions teams_rules_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func TestTeamsRules(t *testing.T) {
createdAt, _ := time.Parse(time.RFC3339, "2014-01-01T05:20:00.12345Z")
updatedAt, _ := time.Parse(time.RFC3339, "2014-01-01T05:20:00.12345Z")

True := true
want := []TeamsRule{{
ID: "7559a944-3dd7-41bf-b183-360a814a8c36",
Name: "rule1",
Expand Down Expand Up @@ -168,7 +167,7 @@ func TestTeamsRules(t *testing.T) {
},
},
NotificationSettings: &TeamsNotificationSettings{
Enabled: &True,
Enabled: BoolPtr(true),
Message: "message",
SupportURL: "https://hello.com",
},
Expand Down

0 comments on commit 25fc8f3

Please sign in to comment.