Hello, I have just started with ZF2 and I came across interesting problem. In a controller I'm using specific variables set in vhosts file with SetEnv. It is not a problem to get it there using getenv. But PHPUnit test fails on getenv function. Even if use getenv directly in unit test, result is the same.
I have tried to initialize it in Bootstrap.php in conjunction with Ant but no luck. I have spent a day searching for solution on Google, but nothing worked. Did anyone had at least similar problem and how can I solve it? Thanks in advance, Ivan -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Get-Apache-variable-in-PHPUnit-tests-tp4659961.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
