github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/cf/api/apifakes/old_fake_cc_request.go (about) 1 package apifakes 2 3 import ( 4 "net/http" 5 6 testnet "code.cloudfoundry.org/cli/cf/util/testhelpers/net" 7 ) 8 9 func NewCloudControllerTestRequest(request testnet.TestRequest) testnet.TestRequest { 10 request.Header = http.Header{ 11 "accept": {"application/json"}, 12 "authorization": {"BEARER my_access_token"}, 13 } 14 15 return request 16 }