Skip to content

Commit

Permalink
chore: minor test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-new-relic committed Oct 14, 2024
1 parent 01f31f6 commit af12088
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/entities/entity_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func TestIntegrationGetEntity_MobileEntity(t *testing.T) {

func TestIntegrationGetEntity_SyntheticsEntity(t *testing.T) {
t.Parallel()
syntheticsEntityMonitorGUID := "MzgwNjUyNnxTWU5USHxNT05JVE9SfGFmZmM0MTRiLTVhNmMtNGI5NS1iMzYwLThhNmQ2ZTkzOTM3Yw"
syntheticsEntityMonitorGUID := "MzgwNjUyNnxTWU5USHxNT05JVE9SfDVjNDg1NDFiLTg5MzQtNDkzYy1hNTVkLTNjMTgzZWNkN2ZlMg"
client := newIntegrationTestClient(t)

result, err := client.GetEntity(common.EntityGUID(syntheticsEntityMonitorGUID))
Expand All @@ -282,10 +282,10 @@ func TestIntegrationGetEntity_SyntheticsEntity(t *testing.T) {
entity := (*result).(*SyntheticMonitorEntity)
require.NotNil(t, entity)

deviceOrientation := FindTagByKey(entity.Tags, "deviceOrientation")
devices := FindTagByKey(entity.Tags, "devices")
runtimeType := FindTagByKey(entity.Tags, "runtimeType")
runtimeTypeVersion := FindTagByKey(entity.Tags, "runtimeTypeVersion")
require.Greater(t, len(deviceOrientation), 0)
require.Greater(t, len(devices), 0)
require.Greater(t, len(runtimeType), 0)
require.Greater(t, len(runtimeTypeVersion), 0)
}
Expand Down

0 comments on commit af12088

Please sign in to comment.