Re: Test Controller with Fixtures problem

2010-07-28 Thread generaltao
This can be closed - for anybody having this prob in the future: Always make sure to create fixtures for all models in your system if you're adding the tests late in the game. Furthermore, sometimes you will get extra problems if you didn't set your fixtures to import records, so ensure you're

Test Controller with Fixtures problem

2010-07-27 Thread generaltao
I'm getting a terribly strange problem whereby if I add the var $fitures to my test controller I end up with a very specific error when firing testAction. I had to add a $fixtures collection simply because we have a whole bunch of models in the system already and it seemed to be looking for