Hi
Dne Mon, 29 Jun 2015 13:31:24 +0530 Nisarg Jhaveri nisargjhaveri@gmail.com napsal(a):
Some of the tests fails when running unit tests behind proxy.
- Error in PMA_Util_Test::testGetLatestVersion
- Failure in PMA_ConfigTest::testCheckHTTP
The error (1) can be surely avoided if ProxyUrl is properly set. I still trying to figure out the exact cause of failure, but looks like it is related to proxy settings.
I could not see example of how to set cfg in `bootstrap.php` for tests. Also, some of the tests overrides ProxyUrl cfg variable. Any workaround?
Also, how about setting default value of config variable from environmental variable like http_proxy or similar whenever available in PMA?
I think this makes sense to set it up from env. Can you please look at it as you obviously have proxy to test :-).