Browse code

integration-cli: createNetwork: add t.Helper()

Signed-off-by: Albin Kerouanton <albinker@gmail.com>

Albin Kerouanton authored on 2024/04/18 16:43:40
Showing 1 changed files
... ...
@@ -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()