Skip to content

Commit

Permalink
[CMSP-678]: Removes checks that don't actually do anything
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Wagner committed Oct 13, 2023
1 parent 389c021 commit 7a4b5a9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions bin/behat-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions bin/behat-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions bin/behat-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a4b5a9

Please sign in to comment.