Re: Help! Cake Unit Tests on Models with the Translate Behaviour

2009-09-21 Thread Big Al
Thanks Marcelo. I actually fixed this by generating all the Models using the Bake command and stipulating the relationships. Once all the Models, Tests and Fixtures were generated it all worked without much more work :) On Sep 19, 6:52 am, Marcelo Andrade wrote: > On Thu, Sep 17, 2009 at 2:25

Re: Help! Cake Unit Tests on Models with the Translate Behaviour

2009-09-18 Thread Marcelo Andrade
On Thu, Sep 17, 2009 at 2:25 PM, Big Al wrote: > > I am having all sorts of trouble getting a very simple unit test case > to work on a Model that I have added the CakePHP Translate Behaviour > to. > (..) > Any help gratefully received! Try to check the core tests for the Translate Behavior. May

Help! Cake Unit Tests on Models with the Translate Behaviour

2009-09-17 Thread Big Al
Hi! I am having all sorts of trouble getting a very simple unit test case to work on a Model that I have added the CakePHP Translate Behaviour to. For example, my Post model has the Translate Behaviour: __ class Post extends AppModel { var $actsAs = array( 'Translate' => array( 'title'