Skip to content

Commit 695e53e

Browse files
committed
fix(tests): destroy without --app flag to remove git remote
1 parent 9e41d71 commit 695e53e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/apps_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ var (
2020
appsLogsCmd = "apps:logs --app={{.AppName}}"
2121
appsInfoCmd = "apps:info --app={{.AppName}}"
2222
appsDestroyCmd = "apps:destroy --app={{.AppName}} --confirm={{.AppName}}"
23+
appsDestroyCmdNoApp = "apps:destroy --confirm={{.AppName}}"
2324
)
2425

2526
func randomString(n int) string {
@@ -59,7 +60,7 @@ func appsCreateTest(t *testing.T, params *utils.DeisTestConfig) {
5960
}
6061
// TODO: move --buildpack to client unit tests
6162
utils.Execute(t, appsCreateCmdBuildpack, params, false, "BUILDPACK_URL")
62-
utils.Execute(t, appsDestroyCmd, params, false, "")
63+
utils.Execute(t, appsDestroyCmdNoApp, params, false, "")
6364
utils.Execute(t, appsCreateCmd, params, false, "")
6465
utils.Execute(t, appsCreateCmd, params, true, "App with this Id already exists")
6566
}

0 commit comments

Comments
 (0)