(reg *httpmock.Registry)
| 24 | } |
| 25 | |
| 26 | func testUploader(reg *httpmock.Registry) *Uploader { |
| 27 | return &Uploader{ |
| 28 | httpClient: &http.Client{Transport: reg}, |
| 29 | host: "github.com", |
| 30 | targetRepository: 1234, |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | func TestUploaderUploadAndAttach(t *testing.T) { |
| 35 | // Each upload response is consumed in the order the assets were |
no outgoing calls
no test coverage detected