Does it have to connect payment server? It's hard for me to tell without knowing in depth details, do you own/run payment server? I'd argue that you should'nt be connecting to servers in unit tests. But I guess it depends on specific case.
stef <ivan.d.stefano...@gmail.com> wrote: Hi, that crossed my mind, but these variables are keeping sensitive payment data and some settings that differs on Unix and Windows system. Payment server must be contacted in test environment, and hostname, port... of that server is also stetted up using SetEnv. I would like that tests to work on production and dev environment without changing anything. Also, I don't want each developer to change some custom settings. Could mock fit in these requirements? Thanx -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Get-Apache-variable-in-PHPUnit-tests-tp4659961p4659963.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com