Skip to content

Commit

Permalink
Update sdk_test.go (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkonigsberg authored Jan 25, 2025
1 parent 68e4d12 commit e021998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ func TestEntities(t *testing.T) {
// check additional fields
assert.Equal(t, firstEntityDetails.CompanyType, firstEntity.CompanyType)
assert.Equal(t, firstEntityDetails.Relationships.Size.Count, firstEntity.Degree)
if firstEntity.Degree < 50 {
if firstEntity.Degree < 200 {
assert.Len(t, firstEntityDetails.Relationships.Data, firstEntity.Degree)
} else {
assert.Len(t, firstEntityDetails.Relationships.Data, 50)
assert.Len(t, firstEntityDetails.Relationships.Data, 200)
}
}

Expand Down

0 comments on commit e021998

Please sign in to comment.