Skip to content

Commit

Permalink
Clean up debug code (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
John Spellman authored Jan 31, 2023
1 parent 9429d75 commit f6aac39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ jobs:

- name: "Run Tests"
run: |
bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 latest
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest
composer phpunit
rm -rf $WP_TESTS_DIR $WP_CORE_DIR
bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 nightly true
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 nightly true
WP_MULTISITE=1 composer phpunit
test-behat:
Expand Down
3 changes: 1 addition & 2 deletions bin/behat-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ set -ex

# Set StrictHostKeyChecking to no
echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
cat /etc/ssh/ssh_config

###
# Create a new environment for this particular test run.
Expand All @@ -47,7 +46,7 @@ BASH_DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
###
terminus connection:set $SITE_ENV git
rm -rf $PREPARE_DIR
git clone -b $TERMINUS_ENV $PANTHEON_GIT_URL $PREPARE_DIR -v
git clone -b $TERMINUS_ENV $PANTHEON_GIT_URL $PREPARE_DIR

###
# Add the copy of this plugin itself to the environment
Expand Down
6 changes: 3 additions & 3 deletions bin/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ if [ $# -lt 3 ]; then
exit 1
fi

DB_NAME=solr-power
DB_USER=root
DB_PASS=root
DB_NAME=$1
DB_USER=$2
DB_PASS=$3
DB_HOST=${4-localhost}
WP_VERSION=${5-latest}
SKIP_DB_CREATE=${6-false}
Expand Down

0 comments on commit f6aac39

Please sign in to comment.