diff --git a/quest_test.go b/quest_test.go index f7ce55f..a99dcb8 100644 --- a/quest_test.go +++ b/quest_test.go @@ -479,11 +479,13 @@ func TestSmokeRoles(t *testing.T) { queryClient.Username = username queryClient.Password = password if NewGlob.IngestorUrl.String() != "" { - ingestClient := NewGlob.IngestorClient + ingestClient = NewGlob.IngestorClient ingestClient.Username = username ingestClient.Password = password } else { - ingestClient = queryClient + ingestClient = NewGlob.QueryClient + ingestClient.Username = username + ingestClient.Password = password } checkAPIAccess(t, queryClient, ingestClient, NewGlob.Stream, tc.roleName)