Hi Davide,
I don't know much about the test suite,
but the error is probably here: $data =$this->Post->findAll();
and not here: $this->set('data',$data);
Does that function work via the browser, if so how does the test suite
load models..? It should be triggered by the controller constructor.
Any possibility that cake is trying to show you an error message (any
clues in the $post array)?
HTH,
AD7six
Please note:
The manual/bakery is a good place to start any quest for info.
You may get your answer quicker by asking on
the IRC Channel (you can access it with just a browser
here:http://irc.cakephp.org).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---