diff --git a/pkg/controller/restore_controller_test.go b/pkg/controller/restore_controller_test.go index fe86d4c09..09fd12d10 100644 --- a/pkg/controller/restore_controller_test.go +++ b/pkg/controller/restore_controller_test.go @@ -613,12 +613,6 @@ func TestRestoreReconcile(t *testing.T) { }, } - if test.restore.Spec.ScheduleName != "" && test.backup != nil { - expected.Spec = SpecPatch{ - BackupName: test.backup.Name, - } - } - if test.expectedStartTime != nil { expected.Status.StartTimestamp = test.expectedStartTime }