File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,10 @@ cp "$WP_TESTS_DIR/includes/wp-tests-config-sample.php" "$WP_TESTS_DIR/wp-tests-c
5656
5757# Configure the testing file with database details and the location of your WordPress core
5858sed -i " s/youremptytestdbnamehere/$DB_NAME /" " $WP_TESTS_DIR /wp-tests-config.php"
59- sed -i " s/your_username/$DB_USER /" " $WP_TESTS_DIR /wp-tests-config.php"
60- sed -i " s/your_password/$DB_PASS /" " $WP_TESTS_DIR /wp-tests-config.php"
59+ sed -i " s/yourusernamehere/$DB_USER /" " $WP_TESTS_DIR /wp-tests-config.php"
60+ sed -i " s/yourpasswordhere/$DB_PASS /" " $WP_TESTS_DIR /wp-tests-config.php"
61+ sed -i " s/localhost/$DB_HOST /" " $WP_TESTS_DIR /wp-tests-config.php"
62+
6163sed -i " s|define( 'ABSPATH', dirname( __FILE__ ) . '/src/' );|define('ABSPATH', '${WP_CORE_DIR} /');|" " $WP_TESTS_DIR /wp-tests-config.php"
6264
6365echo " Modified wp-tests-config.php:"
You can’t perform that action at this time.
0 commit comments