GC: BackUp: SharePoint Test Updates (#1783)

## Description
Addition of SharePoint-specific functions to test package. Verifies that support package functions are present and do not cause errors upon SharePoint Collection Creation 
## Type of change

- [x] 🐹 Trivial/Minor

## Test Plan
- [x]  Unit test
This commit is contained in:
Danny 2022-12-13 11:27:41 -07:00 committed by GitHub
parent fc5f42545f
commit d8172de67e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,13 +53,12 @@ func (suite *SharePointCollectionSuite) TestSharePointListCollection() {
byteArray, err := ow.GetSerializedContent()
require.NoError(t, err)
// TODO: Replace with Sharepoint--> ToDataLayerSharePoint
// https://github.com/alcionai/corso/issues/1401
dir, err := path.Builder{}.Append("directory").
ToDataLayerExchangePathForCategory(
ToDataLayerSharePointPath(
"some",
"user",
path.EmailCategory,
path.ListsCategory,
false)
require.NoError(t, err)