blob: b260246c5a355e0ff8fc0df836e0b201b5abbe9c [file] [log] [blame]
Jon Perritt3ec6cfd2014-10-06 16:49:48 -05001package gophercloud
2
3import (
4 "testing"
5
6 th "github.com/rackspace/gophercloud/testhelper"
7)
8
9func TestAuthenticatedHeaders(t *testing.T) {
10 p := &ProviderClient{
11 TokenID: "1234",
12 }
13 expected := map[string]string{"X-Auth-Token": "1234"}
14 actual := p.AuthenticatedHeaders()
15 th.CheckDeepEquals(t, expected, actual)
16}