Skip to content

Commit 4bdaeb0

Browse files
author
Slavek Kabrda
authored
Merge pull request #272 from bkabrda/fix-base-url-intg-test
Fix integration test for client base url
2 parents 889e001 + b99816c commit 4bdaeb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/client_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ func TestValidAuth(t *testing.T) {
3131
}
3232

3333
func TestBaseUrl(t *testing.T) {
34-
t.Run("Base url defaults to https://app.datadoghq.com", func(t *testing.T) {
34+
t.Run("Base url defaults to https://api.datadoghq.com", func(t *testing.T) {
3535
assert.Empty(t, os.Getenv("DATADOG_HOST"))
3636

3737
c := datadog.NewClient("abc", "def")
38-
assert.Equal(t, "https://app.datadoghq.com", c.GetBaseUrl())
38+
assert.Equal(t, "https://api.datadoghq.com", c.GetBaseUrl())
3939
})
4040

4141
t.Run("Base url defaults DATADOG_HOST environment variable if set", func(t *testing.T) {

0 commit comments

Comments
 (0)