@@ -454,7 +454,7 @@ func TestGetBackupVolumeSnapshots(t *testing.T) {
454454
455455 res , err = harness .GetBackupVolumeSnapshots ("test-backup" )
456456 assert .NoError (t , err )
457- assert .EqualValues (t , snapshots , res )
457+ assert .Equal (t , snapshots , res )
458458}
459459
460460func TestGetBackupItemOperations (t * testing.T ) {
@@ -504,7 +504,7 @@ func TestGetBackupItemOperations(t *testing.T) {
504504
505505 res , err = harness .GetBackupItemOperations ("test-backup" )
506506 assert .NoError (t , err )
507- assert .EqualValues (t , operations , res )
507+ assert .Equal (t , operations , res )
508508}
509509
510510func TestGetRestoreItemOperations (t * testing.T ) {
@@ -553,7 +553,7 @@ func TestGetRestoreItemOperations(t *testing.T) {
553553
554554 res , err = harness .GetRestoreItemOperations ("test-restore" )
555555 assert .NoError (t , err )
556- assert .EqualValues (t , operations , res )
556+ assert .Equal (t , operations , res )
557557}
558558
559559func TestGetBackupContents (t * testing.T ) {
@@ -824,7 +824,7 @@ func TestGetCSIVolumeSnapshotClasses(t *testing.T) {
824824
825825 res , err = harness .GetCSIVolumeSnapshotClasses ("test-backup" )
826826 assert .NoError (t , err )
827- assert .EqualValues (t , classes , res )
827+ assert .Equal (t , classes , res )
828828}
829829
830830func TestGetCSIVolumeSnapshots (t * testing.T ) {
@@ -860,7 +860,7 @@ func TestGetCSIVolumeSnapshots(t *testing.T) {
860860
861861 res , err = harness .GetCSIVolumeSnapshots ("test-backup" )
862862 assert .NoError (t , err )
863- assert .EqualValues (t , snapshots , res )
863+ assert .Equal (t , snapshots , res )
864864}
865865
866866type objectStoreGetter map [string ]velero.ObjectStore
@@ -1137,8 +1137,8 @@ func TestGetRestoreResults(t *testing.T) {
11371137 res , err := harness .GetRestoreResults ("test-restore" )
11381138
11391139 assert .NoError (t , err )
1140- assert .EqualValues (t , contents ["warnings" ], res ["warnings" ])
1141- assert .EqualValues (t , contents ["errors" ], res ["errors" ])
1140+ assert .Equal (t , contents ["warnings" ], res ["warnings" ])
1141+ assert .Equal (t , contents ["errors" ], res ["errors" ])
11421142}
11431143
11441144func TestGetRestoredResourceList (t * testing.T ) {
@@ -1166,7 +1166,7 @@ func TestGetRestoredResourceList(t *testing.T) {
11661166 res , err := harness .GetRestoredResourceList ("test-restore" )
11671167
11681168 assert .NoError (t , err )
1169- assert .EqualValues (t , list ["pod" ], res ["pod" ])
1169+ assert .Equal (t , list ["pod" ], res ["pod" ])
11701170}
11711171
11721172func TestPutBackupVolumeInfos (t * testing.T ) {
0 commit comments