Add context to some test asserts
This commit is contained in:
parent
628d2f3dec
commit
5915448907
@ -515,7 +515,7 @@ func (suite *DataCollectionsIntegrationSuite) TestContactSerializationRegression
|
||||
}
|
||||
|
||||
assert.Equal(t, edc.FullPath().Folder(false), DefaultContactFolder)
|
||||
assert.NotZero(t, count)
|
||||
assert.NotZero(t, count, "contacts in collection")
|
||||
}
|
||||
|
||||
wg.Wait()
|
||||
|
||||
@ -73,7 +73,7 @@ func (suite *BetaClientSuite) TestBasicClientGetFunctionality() {
|
||||
collection, err := client.SitesById(siteID).Pages().Get(ctx, nil)
|
||||
// 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
|
||||
require.NoError(t, err)
|
||||
require.NoError(t, err, "getting SharePoint site pages")
|
||||
|
||||
for _, page := range collection.GetValue() {
|
||||
assert.NotNil(t, page, "betasdk call for page does not return value.")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user