We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24992b commit 6b516e0Copy full SHA for 6b516e0
bin/install-wp-tests.sh
@@ -60,5 +60,9 @@ 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"
61
sed -i "s|/tmp/wordpress/|$WP_CORE_DIR/|" "$WP_TESTS_DIR/wp-tests-config.php"
62
63
+sed -i "1a define('ABSPATH', '${WP_CORE_DIR}/');" "$WP_TESTS_DIR/wp-tests-config.php"
64
+echo "Modified wp-tests-config.php:"
65
+cat "$WP_TESTS_DIR/wp-tests-config.php"
66
+
67
echo "WordPress test environment installed."
68
0 commit comments