Skip to content

Commit 19cd5f7

Browse files
author
Matthew Fisher
committed
fix(tests): check for immovable response
"Deis" in "Powered by Deis" is configured by an environment variable called $POWERED_BY. We should not be checking for Deis, as it can be defined as something else.
1 parent e568f83 commit 19cd5f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/utils/itutils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func doCurl(url string) ([]byte, error) {
9090
defer response.Body.Close()
9191
body, err := ioutil.ReadAll(response.Body)
9292

93-
if !strings.Contains(string(body), "Powered by Deis") {
93+
if !strings.Contains(string(body), "Powered by") {
9494
return nil, fmt.Errorf("App not started (%d)\nBody: (%s)", response.StatusCode, string(body))
9595
}
9696

0 commit comments

Comments
 (0)