Skip to content

Commit 0ceb125

Browse files
Gabriel Monroycarmstrong
authored andcommitted
fix(tests): dont use git remote on deis pull test
1 parent 8a3fa67 commit 0ceb125

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

tests/apps_test.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ import (
1010
)
1111

1212
var (
13-
appsCreateCmd = "apps:create {{.AppName}}"
14-
appsListCmd = "apps:list"
15-
appsRunCmd = "apps:run echo hello"
16-
appsOpenCmd = "apps:open --app={{.AppName}}"
17-
appsLogsCmd = "apps:logs --app={{.AppName}}"
18-
appsInfoCmd = "apps:info --app={{.AppName}}"
19-
appsDestroyCmd = "apps:destroy --app={{.AppName}} --confirm={{.AppName}}"
13+
appsCreateCmd = "apps:create {{.AppName}}"
14+
appsCreateCmdNoRemote = "apps:create {{.AppName}} --no-remote"
15+
appsListCmd = "apps:list"
16+
appsRunCmd = "apps:run echo hello"
17+
appsOpenCmd = "apps:open --app={{.AppName}}"
18+
appsLogsCmd = "apps:logs --app={{.AppName}}"
19+
appsInfoCmd = "apps:info --app={{.AppName}}"
20+
appsDestroyCmd = "apps:destroy --app={{.AppName}} --confirm={{.AppName}}"
2021
)
2122

2223
func TestApps(t *testing.T) {

tests/builds_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func buildsCreateTest(t *testing.T, params *utils.DeisTestConfig) {
8282
if err := utils.Chdir(params.ExampleApp); err != nil {
8383
t.Fatal(err)
8484
}
85-
utils.Execute(t, appsCreateCmd, params, false, "")
85+
utils.Execute(t, appsCreateCmdNoRemote, params, false, "")
8686
utils.Execute(t, buildsCreateCmd, params, false, "")
8787
if err := utils.Chdir(".."); err != nil {
8888
t.Fatal(err)

0 commit comments

Comments
 (0)