From c3c22d27efd673294fe11a39208038cd41cbdaf4 Mon Sep 17 00:00:00 2001 From: pranav-new-relic Date: Mon, 26 Feb 2024 23:03:01 +0530 Subject: [PATCH] chore: correct test --- pkg/notifications/destinations_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/notifications/destinations_test.go b/pkg/notifications/destinations_test.go index 0a348e49..00884a0f 100644 --- a/pkg/notifications/destinations_test.go +++ b/pkg/notifications/destinations_test.go @@ -8,7 +8,6 @@ import ( "net/http" "testing" - "github.com/newrelic/newrelic-client-go/v2/pkg/common" "github.com/stretchr/testify/assert" "github.com/newrelic/newrelic-client-go/v2/pkg/ai" @@ -147,7 +146,7 @@ func TestCreateDestination(t *testing.T) { Auth: auth, CreatedAt: timestamp, ID: id, - GUID: common.EntityGUID(guid), + GUID: EntityGUID(guid), IsUserAuthenticated: false, LastSent: timestamp, Name: "test-notification-destination-1", @@ -193,7 +192,7 @@ func TestGetDestinations(t *testing.T) { Auth: auth, CreatedAt: timestamp, ID: id, - GUID: common.EntityGUID(guid), + GUID: EntityGUID(guid), IsUserAuthenticated: false, LastSent: timestamp, Name: "test-notification-destination-1", @@ -248,7 +247,7 @@ func TestGetDestinationsByName(t *testing.T) { Auth: auth, CreatedAt: timestamp, ID: id, - GUID: common.EntityGUID(guid), + GUID: EntityGUID(guid), IsUserAuthenticated: false, LastSent: timestamp, Name: "test-notification-destination-1",