Signed-off-by: Albin Kerouanton <albinker@gmail.com>
| ... | ... |
@@ -267,6 +267,8 @@ func getNetworkResource(c *testing.T, id string) *types.NetworkResource {
|
| 267 | 267 |
} |
| 268 | 268 |
|
| 269 | 269 |
func createNetwork(c *testing.T, config types.NetworkCreateRequest, expectedStatusCode int) string {
|
| 270 |
+ c.Helper() |
|
| 271 |
+ |
|
| 270 | 272 |
resp, body, err := request.Post(testutil.GetContext(c), "/networks/create", request.JSONBody(config)) |
| 271 | 273 |
assert.NilError(c, err) |
| 272 | 274 |
defer resp.Body.Close() |