$_SERVER variables were not being set.
This has been resolved by:
1. Starting a PHP built-in web server in the background.
2. Using curl to make an HTTP request to the test/index.php script.
3. Parsing the output of curl to determine if the tests passed or failed.
4. Adding a step to stop the web server after the tests are complete.
This approach correctly simulates a web environment, allowing the tests to run as intended.
#27