From b99816c593f6e7d144c14861aa694b599fc39194 Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Mon, 16 Sep 2019 10:00:34 +0200 Subject: [PATCH] Fix integration test for client base url --- integration/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/client_test.go b/integration/client_test.go index eb4b1cd..a1cb73b 100644 --- a/integration/client_test.go +++ b/integration/client_test.go @@ -31,11 +31,11 @@ func TestValidAuth(t *testing.T) { } func TestBaseUrl(t *testing.T) { - t.Run("Base url defaults to https://app.datadoghq.com", func(t *testing.T) { + t.Run("Base url defaults to https://api.datadoghq.com", func(t *testing.T) { assert.Empty(t, os.Getenv("DATADOG_HOST")) c := datadog.NewClient("abc", "def") - assert.Equal(t, "https://app.datadoghq.com", c.GetBaseUrl()) + assert.Equal(t, "https://api.datadoghq.com", c.GetBaseUrl()) }) t.Run("Base url defaults DATADOG_HOST environment variable if set", func(t *testing.T) {