Update to pkg/backup/details/details_test.go
Tests updated to support the 3 categories within SharePoint ItemTypes.
This commit is contained in:
parent
6bcc85a7f3
commit
7c498b42c1
@ -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,
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user