feat: fixes improper json when creating a project using a repository
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user