blob: b260246c5a355e0ff8fc0df836e0b201b5abbe9c [file] [log] [blame]
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)
}