github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+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 }