diff --git a/generatorv2/lib/utils.rb b/generatorv2/lib/utils.rb index 04a9f87e4e..d6b80971e6 100644 --- a/generatorv2/lib/utils.rb +++ b/generatorv2/lib/utils.rb @@ -47,7 +47,7 @@ def additional_json(json) def remove_tests(uuid, json) json["cases"].each_with_object([]) do |x, acc| if x["cases"] - acc << remove_tests(uuid, json) + acc << { "cases" => remove_tests(uuid, x) } elsif uuid.include?(x["uuid"]) acc << x end