test: fix backuppvc annotations test case

Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
This commit is contained in:
Clément Nussbaumer
2025-08-12 16:36:21 +02:00
parent 248a840918
commit c5b70b4a0d

View File

@@ -1003,6 +1003,7 @@ func Test_csiSnapshotExposer_createBackupPVC(t *testing.T) {
ObjectMeta: metav1.ObjectMeta{
Namespace: velerov1.DefaultNamespace,
Name: "fake-backup",
Annotations: map[string]string{},
OwnerReferences: []metav1.OwnerReference{
{
APIVersion: backup.APIVersion,
@@ -1033,6 +1034,7 @@ func Test_csiSnapshotExposer_createBackupPVC(t *testing.T) {
ObjectMeta: metav1.ObjectMeta{
Namespace: velerov1.DefaultNamespace,
Name: "fake-backup",
Annotations: map[string]string{},
OwnerReferences: []metav1.OwnerReference{
{
APIVersion: backup.APIVersion,