Fix err
This commit is contained in:
parent
e641a9fa12
commit
aecfd500f1
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Reference in New Issue