Skip to content

Commit 29c75f8

Browse files
committed
Refactor TestScanSettingBindingNoStorage to use correct scanSettingBindingName
1 parent 57cd87a commit 29c75f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/parallel/main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2559,6 +2559,8 @@ func TestScanSettingBindingNoStorage(t *testing.T) {
25592559
}
25602560

25612561
suiteName := "storage-test-node"
2562+
scanSettingBindingName := suiteName
2563+
25622564
tp := &compv1alpha1.TailoredProfile{
25632565
ObjectMeta: metav1.ObjectMeta{
25642566
Name: suiteName,
@@ -2632,7 +2634,6 @@ func TestScanSettingBindingNoStorage(t *testing.T) {
26322634
}
26332635
defer f.Client.Delete(context.TODO(), &scanSettingWithStorage)
26342636

2635-
scanSettingBindingName := "generated-suite-storage-test"
26362637
scanSettingBinding := compv1alpha1.ScanSettingBinding{
26372638
ObjectMeta: metav1.ObjectMeta{
26382639
Name: scanSettingBindingName,

0 commit comments

Comments
 (0)