feat: fixes improper json when creating a project using a repository

This commit is contained in:
2024-12-12 18:01:32 -05:00
parent a480e942bc
commit bd56660683
2 changed files with 14 additions and 6 deletions

View File

@@ -233,8 +233,10 @@ struct CliClientTests: TestCase {
expectation: .success("""
{
"template" : {
"repo" : "https://git.example.com/template.git",
"version" : "main"
"repo" : {
"url" : "https://git.example.com/template.git",
"version" : "main"
}
}
}
""")
@@ -250,8 +252,10 @@ struct CliClientTests: TestCase {
expectation: .success("""
{
"template" : {
"repo" : "https://git.example.com/template.git",
"version" : "v0.1.0"
"repo" : {
"url" : "https://git.example.com/template.git",
"version" : "v0.1.0"
}
}
}
""")