Skip to content

Commit

Permalink
fix registry base path test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasslash committed Jun 13, 2022
1 parent 269cbc6 commit 82712d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tfe_test.go
Expand Up @@ -4,6 +4,7 @@ import (
"bytes"
"encoding/json"
"fmt"
"os"
"testing"
"time"

Expand Down Expand Up @@ -143,7 +144,7 @@ func Test_RegistryBasePath(t *testing.T) {
req, err := client.newRequest("GET", path, nil)
require.NoError(t, err)

expected := DefaultAddress + path
expected := os.Getenv("TFE_ADDRESS") + path
assert.Equal(t, req.URL.String(), expected)
})
}

0 comments on commit 82712d4

Please sign in to comment.