mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-09 09:25:32 +02:00
Improve notifications
This commit is contained in:
@@ -86,7 +86,6 @@ func (s Slack) Send(event Event, config v1alpha2.Notification) error {
|
||||
Short: true,
|
||||
},
|
||||
},
|
||||
Footer: footerContent,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ func TestSlack_Send(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
assert.Equal(t, mainAttachment.Footer, footerContent)
|
||||
assert.Equal(t, mainAttachment.Footer, "")
|
||||
assert.Equal(t, mainAttachment.Color, slack.getStatusColor(event.LogLevel))
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user