From 266ff8670244da288aec937320d9eecc7996af35 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 21 Sep 2017 04:13:34 -0500 Subject: remove more global refs (#7480) --- app/cluster_discovery_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/cluster_discovery_test.go') diff --git a/app/cluster_discovery_test.go b/app/cluster_discovery_test.go index e8ce62b5c..cd61c0f03 100644 --- a/app/cluster_discovery_test.go +++ b/app/cluster_discovery_test.go @@ -12,9 +12,9 @@ import ( ) func TestClusterDiscoveryService(t *testing.T) { - Setup() + th := Setup() - ds := NewClusterDiscoveryService() + ds := th.App.NewClusterDiscoveryService() ds.Type = model.CDS_TYPE_APP ds.ClusterName = "ClusterA" ds.AutoFillHostname() -- cgit v1.2.3-1-g7c22