PHP unit tests for controller returns no errors and no success message.
- by Mallika Iyer
I'm using the zend modular director structure, i.e.
application
modules
users
controllers
.
.
lessons
reports
blog
I have a unit test for a controller in 'blog' that goes something like the below section of code:
I'm definitely doing something very…