ZF-11423: creation of module controllers through Zend_Tool overwrites controller tests of application
Description
Scenario: you have a "Projects" controller in your application as well as in an "admin" module.
When I create a controller for a module through the zf command on the command line, it will overwrite an existing ProjectsControllerTest for the application controller with an empty/stubbed test case class of the same name.
Instead, the controller test case should be created within a subfolder that mirrors the project structure, i.e. in tests/modules//controllers
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2011-05-31T16:24:07.000+0000
Could not reproduce the issue against the SVN trunk. Here is what I did:
As you can see, both controller tests are created in their proper locations.
Could you provide a similar transcript from your system which shows the controller test file ending up in the wrong location?