diff --git a/pkg/tests/apis/provisioning/export_resources_test.go b/pkg/tests/apis/provisioning/export_resources_test.go index f8c7f52a7a5..5825a201df3 100644 --- a/pkg/tests/apis/provisioning/export_resources_test.go +++ b/pkg/tests/apis/provisioning/export_resources_test.go @@ -401,7 +401,7 @@ func TestIntegrationProvisioning_ExportSpecificResourcesEmptyList(t *testing.T) SubResource("jobs"). Body(body). SetHeader("Content-Type", "application/json"). - Do(helper.Context()) + Do(ctx) err := result.Error() require.Error(t, err, "should fail validation when resources list is empty")