Skip to content

Commit 3261297

Browse files
committed
Merge pull request #136 from mboersma/test-fixes
Small test fixes
2 parents 767431b + 9c668c8 commit 3261297

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

_tests/example-go

Lines changed: 0 additions & 1 deletion
This file was deleted.

_tests/tests_suite_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ var (
4242

4343
var _ = BeforeSuite(func() {
4444
workflowHost := os.Getenv("DEIS_WORKFLOW_SERVICE_HOST")
45-
workflowPort := os.Getenv("DEIS_WORKFLOW_SERVICE_PORT")
4645
Expect(workflowHost).ShouldNot(BeEmpty())
47-
Expect(workflowPort).ShouldNot(BeEmpty())
48-
Expect("../client/deis").Should(BeAnExistingFile())
46+
// use the "deis" executable in the search $PATH
47+
_, err := exec.LookPath("deis")
48+
Expect(err).NotTo(HaveOccurred())
4949

5050
// register the test-admin user
5151
register(url, testAdminUser, testAdminPassword, testAdminEmail)

0 commit comments

Comments
 (0)