Replace shipped pipeline examples with research and task starters
This commit is contained in:
@@ -96,7 +96,7 @@ func TestCLIStatusAndStatistics(t *testing.T) {
|
||||
|
||||
func TestCLIDraftValidateSubmitAndImmutableHistory(t *testing.T) {
|
||||
run, store, _ := setup(t)
|
||||
output, err := run("new", "example", "--template", "one-stage", "--json")
|
||||
output, err := run("new", "example", "--template", "research", "--json")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -171,7 +171,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", "one-stage", "--source"}, {"drafts", "--json"}, {"runs", "--json"}, {"connection", "--json"}, {"ping"}} {
|
||||
for _, command := range [][]string{{"list", "--json"}, {"show", "example", "--json"}, {"templates", "--json"}, {"template", "research", "--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