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
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
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'