#!/usr/bin/env bash # This script is deprecated. # The WordPress PHPUnit test suite is now installed via Composer # into the vendor/wp-phpunit/wp-phpunit directory. # # The test environment setup relies on: # 1. Running `composer install` on the host machine (in wordpress-dev). # 2. Ensuring the `vendor` directory is correctly mapped into the Docker container. # 3. Configuring `tests/bootstrap.php` to point to `/var/www/html/vendor/wp-phpunit/wp-phpunit`. # 4. Configuring `wp-tests-config.php` with the correct database credentials (host: db). # # See docs/test-environment-plan.md for more details. echo "This script (install-wp-tests.sh) is deprecated. WordPress test suite is installed via Composer." exit 0