github.com/newrelic/newrelic-client-go@v1.1.0/pkg/workflows/workflows_test.go (about) 1 //go:build integration 2 // +build integration 3 4 package workflows 5 6 import ( 7 "testing" 8 9 "github.com/newrelic/newrelic-client-go/pkg/notifications" 10 mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers" 11 ) 12 13 func newIntegrationTestClient(t *testing.T) Workflows { 14 cfg := mock.NewIntegrationTestConfig(t) 15 client := New(cfg) 16 17 return client 18 } 19 20 func newNotificationsIntegrationTestClient(t *testing.T) notifications.Notifications { 21 cfg := mock.NewIntegrationTestConfig(t) 22 client := notifications.New(cfg) 23 24 return client 25 }