Compare commits

...

1 Commits

Author SHA1 Message Date
Ashlie Martinez
5915448907 Add context to some test asserts 2023-02-23 10:17:08 -08:00
2 changed files with 2 additions and 2 deletions

View File

@ -515,7 +515,7 @@ func (suite *DataCollectionsIntegrationSuite) TestContactSerializationRegression
} }
assert.Equal(t, edc.FullPath().Folder(false), DefaultContactFolder) assert.Equal(t, edc.FullPath().Folder(false), DefaultContactFolder)
assert.NotZero(t, count) assert.NotZero(t, count, "contacts in collection")
} }
wg.Wait() wg.Wait()

View File

@ -73,7 +73,7 @@ func (suite *BetaClientSuite) TestBasicClientGetFunctionality() {
collection, err := client.SitesById(siteID).Pages().Get(ctx, nil) collection, err := client.SitesById(siteID).Pages().Get(ctx, nil)
// Ensures that the client is able to receive data from beta // Ensures that the client is able to receive data from beta
// Not Registered Error: content type application/json does not have a factory registered to be parsed // Not Registered Error: content type application/json does not have a factory registered to be parsed
require.NoError(t, err) require.NoError(t, err, "getting SharePoint site pages")
for _, page := range collection.GetValue() { for _, page := range collection.GetValue() {
assert.NotNil(t, page, "betasdk call for page does not return value.") assert.NotNil(t, page, "betasdk call for page does not return value.")