Hello, I have a problem related with testing Yii units with phpunit on nginx.
I configure WebTestCase.php as instructed:
/** * Change the following URL based on your server configuration * Make sure the URL ends with a slash so that we can use relative URLs in test cases */ define('TEST_BASE_URL','hxxp://localhost/frameworks/demo/index-test.php/');
But when I run tests, they all fail. When I visit location hxxp://localhost/frameworks/demo/index-test.php/ server returns 404. I think it’s because it ends with a slash.
I have included my nginx config file so if anyone can take a look I’ll be thankful.