From af12088b198134411614e21de8b6408307ca5e65 Mon Sep 17 00:00:00 2001 From: pranav-new-relic Date: Mon, 14 Oct 2024 17:28:48 +0530 Subject: [PATCH] chore: minor test fix --- pkg/entities/entity_integration_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/entities/entity_integration_test.go b/pkg/entities/entity_integration_test.go index 293014268..235537388 100644 --- a/pkg/entities/entity_integration_test.go +++ b/pkg/entities/entity_integration_test.go @@ -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)) @@ -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) }