File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ func TestAnalyzeVelero_Backups(t *testing.T) {
279
279
}
280
280
for _ , tt := range tests {
281
281
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 ) {
283
283
t .Errorf ("analyzeBackups() = %v, want %v" , got , tt .want )
284
284
}
285
285
})
@@ -629,7 +629,7 @@ func TestAnalyzeVelero_Restores(t *testing.T) {
629
629
}
630
630
for _ , tt := range tests {
631
631
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 ) {
633
633
t .Errorf ("analyzeRestores() = %v, want %v" , got , tt .want )
634
634
}
635
635
})
You can’t perform that action at this time.
0 commit comments