Add tests for generic attribute changes

This commit is contained in:
Aneesh Nireshwalia 2024-02-22 17:55:50 -07:00
parent d4be734c73
commit 4bbd25a37f
No known key found for this signature in database
GPG key ID: 6F5A52831C046F44
4 changed files with 770 additions and 36 deletions

View file

@ -29,7 +29,7 @@ func TestRestorerRestoreEmptyHardlinkedFileds(t *testing.T) {
},
},
},
})
}, noopGetGenericAttributes)
res := NewRestorer(repo, sn, false, nil)
@ -95,7 +95,7 @@ func TestRestorerProgressBar(t *testing.T) {
},
"file2": File{Links: 1, Inode: 2, Data: "example"},
},
})
}, noopGetGenericAttributes)
mock := &printerMock{}
progress := restoreui.NewProgress(mock, 0)