(status string)
| 394 | } |
| 395 | |
| 396 | func createProgressEndpoint(status string) (req testnet.TestRequest) { |
| 397 | body := fmt.Sprintf(` |
| 398 | { |
| 399 | "entity":{ |
| 400 | "status":"%s" |
| 401 | } |
| 402 | }`, status) |
| 403 | |
| 404 | req.Method = "GET" |
| 405 | req.Path = "/v2/jobs/my-job-guid" |
| 406 | req.Response = testnet.TestResponse{ |
| 407 | Status: http.StatusCreated, |
| 408 | Body: body, |
| 409 | } |
| 410 | |
| 411 | return |
| 412 | } |
| 413 | |
| 414 | var matchExcludedResourceRequest = testnet.TestRequest{ |
| 415 | Method: "PUT", |
no outgoing calls
no test coverage detected