Skip to content

Commit 0761599

Browse files
committed
Fix duplicate test
1 parent b353912 commit 0761599

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/framework/controller/predicate/secret_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,16 @@ func TestSecretNamePredicate(t *testing.T) {
134134
expUpdate: false,
135135
},
136136
{
137-
name: "Generic event with non-matching secret",
137+
name: "Generic event with matching secret",
138138
genericEvent: &event.GenericEvent{
139139
Object: &corev1.Secret{
140140
ObjectMeta: metav1.ObjectMeta{
141-
Name: "secret3",
141+
Name: "secret1",
142142
Namespace: "test-namespace",
143143
},
144144
},
145145
},
146-
expUpdate: false,
146+
expUpdate: true,
147147
},
148148
{
149149
name: "Generic event with non-matching secret",

0 commit comments

Comments
 (0)