Thanks.

Are there any examples on how I can test my Controller to see how it
responds to different roles through BjyAuthorize?

I have written this  Controller Test
<https://gist.github.com/dennis-fedco/7950074>   (and it works woo hoo!),
but do not pass.

So my questions are:
* how do I authenticate myself in the test, so that my test passes.
* how do I mock the authorization objects (is there an example code, or
directions that can get me started)





--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/How-to-PHPUnit-test-a-Controller-under-BjyAuthorize-tp4661333p4661346.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to