Skip to content

Commit

Permalink
chore: correct test
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-new-relic committed Feb 26, 2024
1 parent cf4eab8 commit c3c22d2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/notifications/destinations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit c3c22d2

Please sign in to comment.