Configure full Docker setup and confirm consequential actions
This commit is contained in:
@@ -18,7 +18,7 @@ func TestDraftDeleteWorksWithoutServerConnection(t *testing.T) {
|
||||
}
|
||||
var out bytes.Buffer
|
||||
a := App{Out: &out, Err: &out, In: strings.NewReader("")}
|
||||
if err := a.Run(context.Background(), []string{"draft-delete", d.Path, "--json", "--url", "not-a-server"}); err != nil {
|
||||
if err := a.Run(context.Background(), []string{"draft-delete", d.Path, "--yes", "--json", "--url", "not-a-server"}); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if !strings.Contains(out.String(), "deleted") {
|
||||
|
||||
Reference in New Issue
Block a user