Skip to content

Commit

Permalink
don't define a path
Browse files Browse the repository at this point in the history
because I guess we're installing in the current directory
  • Loading branch information
jazzsequence committed Feb 6, 2024
1 parent 37c9525 commit ce3e0fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/phpunit-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ composer test:multisite --ansi
setup_wp_nightly() {
download http://api.wordpress.org/core/version-check/1.7/ /tmp/wp-latest.json
echo "Creating wp-config.php"
wp config create --dbname=wordpress_test --dbuser=root --dbpass=root --dbhost=127.0.0.1 --dbprefix=wptests_ --path="${WP_CORE_DIR}"
wp core install --url=localhost --title=Test --admin_user=admin --admin_password=password [email protected] --path="${WP_CORE_DIR}"
wp config create --dbname=wordpress_test --dbuser=root --dbpass=root --dbhost=127.0.0.1 --dbprefix=wptests_
wp core install --url=localhost --title=Test --admin_user=admin --admin_password=password [email protected]
# If nightly version of WP is installed, install latest Gutenberg plugin and activate it.
echo "Installing Gutenberg plugin"
wp plugin install gutenberg --activate --path="${WP_CORE_DIR}"
wp plugin install gutenberg --activate
}

echo "🧹 Removing files before testing nightly WP..."
Expand Down

0 comments on commit ce3e0fe

Please sign in to comment.