blob: 3d81cc97b9cc66a040aeec9f1ac53be02ece95da [file] [log] [blame]
package client
import (
"github.com/gophercloud/gophercloud"
"github.com/gophercloud/gophercloud/testhelper"
)
// Fake token to use.
const TokenID = "cbc36478b0bd8e67e89469c7749d4127"
// ServiceClient returns a generic service client for use in tests.
func ServiceClient() *gophercloud.ServiceClient {
return &gophercloud.ServiceClient{
ProviderClient: &gophercloud.ProviderClient{TokenID: TokenID},
Endpoint: testhelper.Endpoint(),
}
}