Skip to content

Commit

Permalink
remove defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Feb 13, 2024
1 parent 6687e1b commit b06ab34
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions bin/install-local-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ set -e
source "$(dirname "$0")/helpers.sh"

# Initialize variables with default values
TMPDIR="${TMPDIR}:-/tmp"
DB_NAME="${DB_NAME}:-wordpress_test"
DB_USER="${DB_USER}:-root"
DB_PASS="${DB_PASS}:-"
DB_HOST="${DB_HOST}:-127.0.0.1"
TMPDIR="/tmp"
DB_NAME="wordpress_test"
DB_USER="root"
DB_PASS=""
DB_HOST="127.0.0.1"
WP_VERSION=${WP_VERSION:-latest}
SKIP_DB=""

Expand Down
12 changes: 6 additions & 6 deletions bin/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ set -ex
source "$(dirname "$0")/helpers.sh"

# Initialize variables with default values
TMPDIR="${TMPDIR}:-/tmp"
DB_NAME="${DB_NAME}:-wordpress_test"
DB_USER="${DB_USER}:-root"
DB_PASS="${DB_PASS}:-"
DB_HOST="${DB_HOST}:-127.0.0.1"
TMPDIR="/tmp"
DB_NAME="wordpress_test"
DB_USER="root"
DB_PASS=""
DB_HOST="127.0.0.1"
WP_VERSION=${WP_VERSION:-latest}
SKIP_DB="${SKIP_DB}:-"
SKIP_DB=""

# Parse command-line arguments
for i in "$@"; do
Expand Down

0 comments on commit b06ab34

Please sign in to comment.