package gophercloud | |
import ( | |
"testing" | |
th "github.com/rackspace/gophercloud/testhelper" | |
) | |
func TestAuthenticatedHeaders(t *testing.T) { | |
p := &ProviderClient{ | |
TokenID: "1234", | |
} | |
expected := map[string]string{"X-Auth-Token": "1234"} | |
actual := p.AuthenticatedHeaders() | |
th.CheckDeepEquals(t, expected, actual) | |
} |