diff --git a/bin/behat-cleanup.sh b/bin/behat-cleanup.sh index 9bcd07e..fd777be 100755 --- a/bin/behat-cleanup.sh +++ b/bin/behat-cleanup.sh @@ -4,7 +4,7 @@ # Delete the Pantheon site environment after the Behat test suite has run. ### -if ! terminus whoami > dev/null; then +if terminus whoami > dev/null; then echo "Terminus unauthenticated; assuming unauthenticated build" exit 0 fi diff --git a/bin/behat-prepare.sh b/bin/behat-prepare.sh index cb34092..3ea8836 100755 --- a/bin/behat-prepare.sh +++ b/bin/behat-prepare.sh @@ -6,7 +6,7 @@ # such that it can be run a second time if a step fails. ### -if ! terminus whoami > dev/null; then +if terminus whoami > dev/null; then echo "Terminus unauthenticated; assuming unauthenticated build" exit 0 fi diff --git a/bin/behat-test.sh b/bin/behat-test.sh index 1c31c24..7c59d4b 100755 --- a/bin/behat-test.sh +++ b/bin/behat-test.sh @@ -4,7 +4,7 @@ # Execute the Behat test suite against a prepared Pantheon site environment. ### -if ! terminus whoami > dev/null; then +if terminus whoami > dev/null; then echo "Terminus unauthenticated; assuming unauthenticated build" exit 0 fi