This commit is contained in:
Jakub Al-Khalili 2019-08-02 14:37:52 +02:00
parent e641a9fa12
commit aecfd500f1
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ func TestTeams_Send(t *testing.T) {
err := notification.K8sClient.Create(context.TODO(), secret)
assert.NoError(t, err)
err := teams.Send(notification, v1alpha2.Notification{
err = teams.Send(notification, v1alpha2.Notification{
Teams: v1alpha2.Teams{
URLSecretKeySelector: v1alpha2.SecretKeySelector{
LocalObjectReference: corev1.LocalObjectReference{

View File

@ -84,7 +84,7 @@ func TestSlack_Send(t *testing.T) {
slack := Slack{}
err := slack.Send(notification, v1alpha2.Notification{
err = slack.Send(notification, v1alpha2.Notification{
Slack: v1alpha2.Slack{
URLSecretKeySelector: v1alpha2.SecretKeySelector{
LocalObjectReference: corev1.LocalObjectReference{