Setup Yii Testing In protected/tests/WebTestCase.php, change TEST_BASE_URL to your project define(‘TEST_BASE_URL’,’http://127.0.0.1/webapp/’); Check protected/tests/bootstrap.php to make sure it is configured in a reasonable manner. I believe in most cases it will be fine – I am using the yii-environment extension, and needed to copy over my config so it would read from existing config files. Take […]