Update to pkg/backup/details/details_test.go

Tests updated to support the 3 categories within SharePoint ItemTypes.
This commit is contained in:
Danny Adams 2023-03-07 09:49:55 -05:00
parent 6bcc85a7f3
commit 7c498b42c1

View File

@ -780,7 +780,7 @@ func (suite *DetailsUnitSuite) TestUpdateItem() {
name: "SharePoint",
input: ItemInfo{
SharePoint: &SharePointInfo{
ItemType: SharePointItem,
ItemType: SharePointLibrary,
ParentPath: folder1,
},
},
@ -789,7 +789,7 @@ func (suite *DetailsUnitSuite) TestUpdateItem() {
errCheck: assert.NoError,
expectedItem: ItemInfo{
SharePoint: &SharePointInfo{
ItemType: SharePointItem,
ItemType: SharePointLibrary,
ParentPath: folder2,
},
},
@ -810,7 +810,7 @@ func (suite *DetailsUnitSuite) TestUpdateItem() {
name: "SharePointBadPath",
input: ItemInfo{
SharePoint: &SharePointInfo{
ItemType: SharePointItem,
ItemType: SharePointLibrary,
ParentPath: folder1,
},
},