Replace niche templates with simple starters and direct template submission
This commit is contained in:
@@ -91,7 +91,7 @@ func TestCLIStatusAndStatistics(t *testing.T) {
|
||||
|
||||
func TestCLIDraftValidateSubmitAndImmutableHistory(t *testing.T) {
|
||||
run, store, _ := setup(t)
|
||||
output, err := run("new", "example", "--template", "bug-fix", "--json")
|
||||
output, err := run("new", "example", "--template", "task", "--json")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -166,7 +166,7 @@ func TestCLIDraftValidateSubmitAndImmutableHistory(t *testing.T) {
|
||||
if items[0].Version != 3 {
|
||||
t.Fatal("invalid submission changed live version", items)
|
||||
}
|
||||
for _, command := range [][]string{{"list", "--json"}, {"show", "example", "--json"}, {"templates", "--json"}, {"template", "bug-fix", "--source"}, {"drafts", "--json"}, {"runs", "--json"}, {"connection", "--json"}, {"ping"}} {
|
||||
for _, command := range [][]string{{"list", "--json"}, {"show", "example", "--json"}, {"templates", "--json"}, {"template", "task", "--source"}, {"drafts", "--json"}, {"runs", "--json"}, {"connection", "--json"}, {"ping"}} {
|
||||
if _, err = run(command...); err != nil {
|
||||
t.Fatal(command, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user