From d8172de67e4987d38b0f31cee3613a219ae62687 Mon Sep 17 00:00:00 2001 From: Danny Date: Tue, 13 Dec 2022 11:27:41 -0700 Subject: [PATCH] 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] :hamster: Trivial/Minor ## Test Plan - [x] :zap: Unit test --- src/internal/connector/sharepoint/collection_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/internal/connector/sharepoint/collection_test.go b/src/internal/connector/sharepoint/collection_test.go index 96806239b..5524c7976 100644 --- a/src/internal/connector/sharepoint/collection_test.go +++ b/src/internal/connector/sharepoint/collection_test.go @@ -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)