How do I get a unit test to login to my Zend applicaion using PHPUnit?

If you want to tests you should be able to access Zend_Auth as you would normally and test it. E.g.

The ENV 'testing' simply load the testing block in your application. Ini with specific settings. For passing the test on the response code its kinda tricky, you need to return the redirect like explained here.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions