Skip to content

Commit 70699ec

Browse files
committed
update tests for backups/restoresCount
1 parent a379eb5 commit 70699ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analyze/velero_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func TestAnalyzeVelero_Backups(t *testing.T) {
279279
}
280280
for _, tt := range tests {
281281
t.Run(tt.name, func(t *testing.T) {
282-
if got := analyzeBackups(tt.args.backups); !reflect.DeepEqual(got, tt.want) {
282+
if got := analyzeBackups(tt.args.backups, 1); !reflect.DeepEqual(got, tt.want) {
283283
t.Errorf("analyzeBackups() = %v, want %v", got, tt.want)
284284
}
285285
})
@@ -629,7 +629,7 @@ func TestAnalyzeVelero_Restores(t *testing.T) {
629629
}
630630
for _, tt := range tests {
631631
t.Run(tt.name, func(t *testing.T) {
632-
if got := analyzeRestores(tt.args.restores); !reflect.DeepEqual(got, tt.want) {
632+
if got := analyzeRestores(tt.args.restores, 1); !reflect.DeepEqual(got, tt.want) {
633633
t.Errorf("analyzeRestores() = %v, want %v", got, tt.want)
634634
}
635635
})

0 commit comments

Comments
 (0)