I don't think you need to extend Zend_Test_PHPUnit_ControllerTestCase for your models. As far as I understand this class is there to provide controllers with methods to make them easily testable. Models should be independant and therefore easily testable anyway. Hope this males sense.

On 22 Nov 2009, at 10:04, Davout <[email protected]> wrote:


Never mind. I got it to work. Apparently, at some point in the hierarchy I
have to extend Zend_Test_PHPUnit_ControllerTestCase

class Order_Model_OrderRepositoryTest extends ControllerTestCase

class ControllerTestCase extends Zend_Test_PHPUnit_ControllerTestCase
--
View this message in context: 
http://n4.nabble.com/Bootstrapping-modules-and-testing-tp680333p758621.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to