From 737b0c1d33a4a5889b2763de8f1c29bf7edc5d0c Mon Sep 17 00:00:00 2001 From: Ryan Wagner Date: Thu, 12 Oct 2023 17:56:55 -0400 Subject: [PATCH] [CMSP-678]: Terminus fix --- bin/behat-cleanup.sh | 2 +- bin/behat-prepare.sh | 2 +- bin/behat-test.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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