In Zend manual is explained how to test Album model. Its says:
Testing the editAction and deleteAction methods can be easily done in a manner similar as shown for the addAction.
When testing the editAction you will also need to mock out the getAlbum method:
Can anybody help me to do that I got an error constantly
There was 1 failure:
Failed asserting response redirects to "/album", actual redirection is "/album/add"
Tests: 3, Assertions: 10, Failures: 1.
If you reply to this email, your message will be added to the discussion below:
To start a new topic under Zend Framework, email [hidden email]
To unsubscribe from Zend Framework Community, click here.