diff --git a/bin/behat-cleanup.sh b/bin/behat-cleanup.sh index fd777be..1cd64e5 100755 --- a/bin/behat-cleanup.sh +++ b/bin/behat-cleanup.sh @@ -4,11 +4,6 @@ # Delete the Pantheon site environment after the Behat test suite has run. ### -if terminus whoami > dev/null; then - echo "Terminus unauthenticated; assuming unauthenticated build" - exit 0 -fi - if [ -z "$TERMINUS_SITE" ] || [ -z "$TERMINUS_ENV" ]; then echo "TERMINUS_SITE and TERMINUS_ENV environment variables must be set" exit 1 diff --git a/bin/behat-prepare.sh b/bin/behat-prepare.sh index 413ba11..6a46d5a 100755 --- a/bin/behat-prepare.sh +++ b/bin/behat-prepare.sh @@ -6,11 +6,6 @@ # such that it can be run a second time if a step fails. ### -if terminus whoami > dev/null; then - echo "Terminus unauthenticated; assuming unauthenticated build" - exit 0 -fi - if [ -z "$TERMINUS_SITE" ] || [ -z "$TERMINUS_ENV" ]; then echo "TERMINUS_SITE and TERMINUS_ENV environment variables must be set" exit 1 diff --git a/bin/behat-test.sh b/bin/behat-test.sh index 7c59d4b..2cbb53b 100755 --- a/bin/behat-test.sh +++ b/bin/behat-test.sh @@ -4,11 +4,6 @@ # Execute the Behat test suite against a prepared Pantheon site environment. ### -if terminus whoami > dev/null; then - echo "Terminus unauthenticated; assuming unauthenticated build" - exit 0 -fi - if [ -z "$TERMINUS_SITE" ] || [ -z "$TERMINUS_ENV" ]; then echo "TERMINUS_SITE and TERMINUS_ENV environment variables must be set" exit 1